Add PyDispatcher>=2.0.5 back to dependencies for old pip

This commit is contained in:
Adrián Chaves 2020-10-30 10:23:59 +01:00
parent 9461414b14
commit 7187247c01
1 changed files with 6 additions and 6 deletions

View File

@ -33,12 +33,12 @@ install_requires = [
'itemadapter>=0.1.0',
]
extras_require = {}
cpython_dependencies = [
'lxml>=3.5.0',
'PyDispatcher>=2.0.5',
]
if has_environment_marker_platform_impl_support():
extras_require[':platform_python_implementation == "CPython"'] = [
'lxml>=3.5.0',
'PyDispatcher>=2.0.5',
]
extras_require[':platform_python_implementation == "CPython"'] = cpython_dependencies
extras_require[':platform_python_implementation == "PyPy"'] = [
# Earlier lxml versions are affected by
# https://foss.heptapod.net/pypy/pypy/-/issues/2498,
@ -49,7 +49,7 @@ if has_environment_marker_platform_impl_support():
'PyPyDispatcher>=2.1.0',
]
else:
install_requires.append('lxml>=3.5.0')
install_requires.extend(cpython_dependencies)
setup(