1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Exclude aiohttp from python < 3 setup

This commit is contained in:
Luiz Menezes
2016-08-31 22:15:24 -03:00
parent 5a85e88a39
commit 8e352feb6a

View File

@@ -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.9.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',