summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-10-18 10:19:35 +0200
committerCalum Lind <calumlind@gmail.com>2018-10-19 15:14:03 +0200
commit5ec6ae3ad0b5f61711448b62e992a77c7ac4857f (patch)
tree7cb3b3af334a49c40f1a79c9085b43cafdf84e3f /setup.py
parent[Packaging] Update make_release script for Py3 (diff)
downloaddeluge-5ec6ae3ad0b5f61711448b62e992a77c7ac4857f.tar.xz
deluge-5ec6ae3ad0b5f61711448b62e992a77c7ac4857f.zip
[Packaging] Minimal requirements for test_requires in setup.py
Remove extra_requires since requirements-*.txt files provides these now plus the extras_requires is for extras at installation time which does not apply to docs or dev. For test_requires include the minimal requirements for pytest to run. This is not the same as the longer tox test requirements that include linting, docs etcs. Fix license field.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py26
1 files changed, 2 insertions, 24 deletions
diff --git a/setup.py b/setup.py
index 8d37b678a..04bd604b7 100755
--- a/setup.py
+++ b/setup.py
@@ -561,24 +561,7 @@ install_requires = [
"certifi; sys.platform == 'win32'",
'zope.interface',
]
-docs_require = ['sphinx', 'recommonmark', 'sphinx-rtd-theme']
-tests_require = [
- 'coverage',
- 'flake8',
- 'flake8-blind-except',
- 'flake8-builtins',
- 'flake8-commas',
- 'flake8-comprehensions',
- 'flake8-debugger',
- 'flake8-isort',
- 'flake8-mock',
- 'flake8-mutable',
- 'flake8-quotes',
- 'pre-commit',
- 'pytest',
- 'detox',
- 'tox',
-]
+tests_require = ['pytest', 'pytest-twisted']
# Main setup
setup(
@@ -610,15 +593,10 @@ setup(
'Operating System :: POSIX',
'Topic :: Internet',
],
- license='GPLv3',
+ license='GPLv3+',
cmdclass=cmdclass,
setup_requires=setup_requires,
install_requires=install_requires,
- extras_require={
- 'docs': docs_require,
- 'tests': tests_require,
- 'dev': docs_require + tests_require,
- },
tests_require=tests_require,
data_files=_data_files,
package_data=_package_data,