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

@ -33,5 +33,15 @@ setup(
# If this version is changed, it needs changing in the install script too
"pycairo==1.19.1",
],
extras_require={
"prod": [],
"dev": [
"distro",
"pylint",
"pytest",
"pytest-cov",
"pytest-xdist",
],
},
zip_safe=False,
)