Skip to content

Commit a924011

Browse files
authored
fix: move aiohttp to extra as it is currently internal surface (#619)
Fix #618. Removes aiohttp from required dependencies to lessen dependency tree for google-auth. This will need to be looked at again as more folks use aiohttp and once the surfaces goes to public visibility.
1 parent ee5617c commit a924011

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
'rsa>=3.1.4,<5; python_version >= "3.5"',
2828
"setuptools>=40.3.0",
2929
"six>=1.9.0",
30-
'aiohttp >= 3.6.2, < 4.0.0dev; python_version>="3.6"',
3130
)
3231

32+
extras = {"aiohttp": "aiohttp >= 3.6.2, < 4.0.0dev; python_version>='3.6'"}
3333

3434
with io.open("README.rst", "r") as fh:
3535
long_description = fh.read()
@@ -47,6 +47,7 @@
4747
packages=find_packages(exclude=("tests*", "system_tests*")),
4848
namespace_packages=("google",),
4949
install_requires=DEPENDENCIES,
50+
extras_require=extras,
5051
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
5152
license="Apache 2.0",
5253
keywords="google auth oauth client",

0 commit comments

Comments
 (0)