mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
[Packaging] Add install_requires to setup.py
- Add an install_requires list to allow dependencies to be automatically installed via setuptools or pip installation. - Needed a workaround for twisted service_identity install.
This commit is contained in:
parent
85bbdfe143
commit
c1ddcf6012
1 changed files with 20 additions and 0 deletions
20
setup.py
20
setup.py
|
@ -543,6 +543,24 @@ _package_data['deluge.ui.web'] = [
|
||||||
]
|
]
|
||||||
_package_data['deluge.ui.gtkui'] = ['glade/*.ui']
|
_package_data['deluge.ui.gtkui'] = ['glade/*.ui']
|
||||||
|
|
||||||
|
setup_requires = ['setuptools', 'wheel']
|
||||||
|
install_requires = [
|
||||||
|
'twisted[tls]>=16.6',
|
||||||
|
# Add pyasn1 for setuptools workaround:
|
||||||
|
# https://github.com/pypa/setuptools/issues/1510
|
||||||
|
'pyasn1',
|
||||||
|
'pyopenssl',
|
||||||
|
'pyxdg',
|
||||||
|
'pillow',
|
||||||
|
'mako',
|
||||||
|
'chardet',
|
||||||
|
'six',
|
||||||
|
'setproctitle',
|
||||||
|
"pywin32; sys.platform == 'win32'",
|
||||||
|
"py2-ipaddress; sys.platform == 'win32'",
|
||||||
|
"certifi; sys.platform == 'win32'",
|
||||||
|
'zope.interface',
|
||||||
|
]
|
||||||
docs_require = ['sphinx', 'recommonmark', 'sphinx-rtd-theme']
|
docs_require = ['sphinx', 'recommonmark', 'sphinx-rtd-theme']
|
||||||
tests_require = [
|
tests_require = [
|
||||||
'coverage',
|
'coverage',
|
||||||
|
@ -594,6 +612,8 @@ setup(
|
||||||
],
|
],
|
||||||
license='GPLv3',
|
license='GPLv3',
|
||||||
cmdclass=cmdclass,
|
cmdclass=cmdclass,
|
||||||
|
setup_requires=setup_requires,
|
||||||
|
install_requires=install_requires,
|
||||||
extras_require={
|
extras_require={
|
||||||
'docs': docs_require,
|
'docs': docs_require,
|
||||||
'tests': tests_require,
|
'tests': tests_require,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue