Use setup extra_requires for dev/prod dependencies

Also add pylint by default.
This commit is contained in:
jo 2021-09-10 13:45:27 +02:00
parent 1742f91a34
commit 0d88d17f7c
7 changed files with 41 additions and 11 deletions

View file

@ -22,11 +22,19 @@ setup(
scripts=["bin/libretime-api"],
install_requires=[
"coreapi",
"Django~=3.0",
"django~=3.0",
"djangorestframework",
"django-url-filter",
"markdown",
"model_bakery",
"psycopg2",
],
extras_require={
"prod": [
"psycopg2",
],
"dev": [
"psycopg2-binary",
"pylint",
],
},
)