Merge pull request #47 from devxpy/patch-1

Add extras_require to setup()
This commit is contained in:
Kenneth Reitz 2018-07-03 10:24:11 -04:00 committed by GitHub
commit 818350c6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,11 @@ REQUIRED = [
# 'requests', 'maya', 'records', # 'requests', 'maya', 'records',
] ]
# What packages are optional?
EXTRAS = {
# 'fancy feature': ['django'],
}
# The rest you shouldn't have to touch too much :) # The rest you shouldn't have to touch too much :)
# ------------------------------------------------ # ------------------------------------------------
# Except, perhaps the License and Trove Classifiers! # Except, perhaps the License and Trove Classifiers!
@ -105,6 +110,7 @@ setup(
# 'console_scripts': ['mycli=mymodule:cli'], # 'console_scripts': ['mycli=mymodule:cli'],
# }, # },
install_requires=REQUIRED, install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True, include_package_data=True,
license='MIT', license='MIT',
classifiers=[ classifiers=[