setuptools: Add md5 and bcrypt as extra requirements
This commit is contained in:
parent
fe1cfad4d3
commit
b16fac2cad
@ -18,8 +18,7 @@ before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi
|
||||
|
||||
install:
|
||||
- pip3 install --upgrade passlib bcrypt
|
||||
- pip3 install --upgrade --editable .[test]
|
||||
- pip3 install --upgrade --editable .[test,md5,bcrypt]
|
||||
|
||||
script:
|
||||
- python3 setup.py test
|
||||
|
5
setup.py
5
setup.py
@ -69,7 +69,10 @@ setup(
|
||||
install_requires=["vobject==0.9.5", "python-dateutil==2.6.1"],
|
||||
setup_requires=pytest_runner,
|
||||
tests_require=tests_require,
|
||||
extras_require={"test": tests_require},
|
||||
extras_require={
|
||||
"test": tests_require,
|
||||
"md5": "passlib",
|
||||
"bcrypt": "passlib[bcrypt]"},
|
||||
keywords=["calendar", "addressbook", "CalDAV", "CardDAV"],
|
||||
python_requires=">=3.3",
|
||||
classifiers=[
|
||||
|
Loading…
Reference in New Issue
Block a user