Skip to content

Commit 38cc26b

Browse files
committed
Improve msgpack related deps
1 parent 1788eef commit 38cc26b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
-r requirements-base.txt
2-
msgpack>=0.6.1
2+
msgpack>=1.0.0

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
version = f.read().decode('ascii').strip()
1212

1313
is_pypy = '__pypy__' in sys.builtin_module_names
14-
mpack_required = 'msgpack-pypy>=0.0.2' if is_pypy else 'msgpack>=1.0.0'
14+
mpack_required = ['msgpack>=1.0.0']
15+
if is_pypy:
16+
mpack_required.append('msgpack-pypy>=0.0.2')
1517

1618
setup(
1719
name='scrapinghub',
@@ -25,7 +27,7 @@
2527
packages=['scrapinghub', 'scrapinghub.client', 'scrapinghub.hubstorage'],
2628
package_data={'scrapinghub': ['VERSION']},
2729
install_requires=['requests>=1.0', 'retrying>=1.3.3', 'six>=1.10.0'],
28-
extras_require={'msgpack': [mpack_required]},
30+
extras_require={'msgpack': mpack_required},
2931
classifiers=[
3032
'Development Status :: 5 - Production/Stable',
3133
'License :: OSI Approved :: BSD License',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy