Use setup extra_requires for dev/prod dependencies
Also add pylint by default.
This commit is contained in:
parent
1742f91a34
commit
0d88d17f7c
7 changed files with 41 additions and 11 deletions
12
api/setup.py
12
api/setup.py
|
@ -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",
|
||||
],
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue