From b16fac2cadc6479861af70dc5be657cbeba1fd0b Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 20 Apr 2018 14:57:35 +0200 Subject: [PATCH] setuptools: Add md5 and bcrypt as extra requirements --- .travis.yml | 3 +-- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7724e801..7750b80b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/setup.py b/setup.py index bfa1fbf4..33dadaba 100644 --- a/setup.py +++ b/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=[