mirror of https://github.com/scrapy/scrapy.git
Add PyDispatcher>=2.0.5 back to dependencies for old pip
This commit is contained in:
parent
9461414b14
commit
7187247c01
12
setup.py
12
setup.py
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue