Skip to content

Commit cb73481

Browse files
committed
setup.py: Declare development and test dependencies properly
There is no 'test_requires' argument to setuptools.setup(). Instead, pass extras_require with appropriate keys for the other kinds of dependencies. Add the development dependencies outlined in README.md. All dependencies can now be installed with: pip install -e .[dev,test]
1 parent a2be52a commit cb73481

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"License :: OSI Approved :: Apache Software License"
1919
"Operating System :: OS Independent",
2020
],
21-
install_requires=["pycryptodomex", "scalable-cuckoo-filter"],
22-
test_requires=["pytest"],
2321
python_requires=">=3.6",
22+
install_requires=["pycryptodomex", "scalable-cuckoo-filter"],
23+
extras_require={"dev": ["black", "flake8", "pre-commit"], "test": ["pytest"]},
2424
)

0 commit comments

Comments
 (0)