mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
Merge pull request #271 from lamenezes/fix-py2-setup
Exclude aiohttp from python < 3 setup
This commit is contained in:
6
setup.py
6
setup.py
@@ -49,6 +49,10 @@ except Exception:
|
||||
install_requires.extend(value)
|
||||
|
||||
|
||||
excluded_packages = ["tests*"]
|
||||
if sys.version_info[0] == 2:
|
||||
excluded_packages.append("vcr.stubs.aiohttp_stubs")
|
||||
|
||||
setup(
|
||||
name='vcrpy',
|
||||
version='1.10.0',
|
||||
@@ -60,7 +64,7 @@ setup(
|
||||
author='Kevin McCarthy',
|
||||
author_email='me@kevinmccarthy.org',
|
||||
url='https://github.com/kevin1024/vcrpy',
|
||||
packages=find_packages(exclude=("tests*",)),
|
||||
packages=find_packages(exclude=excluded_packages),
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
license='MIT',
|
||||
|
||||
Reference in New Issue
Block a user