Skip to content

Commit

Permalink
fix: move aiohttp to extra as it is currently internal surface (#619)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
crwilcox committed Oct 5, 2020
1 parent ee5617c commit a924011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
'rsa>=3.1.4,<5; python_version >= "3.5"',
"setuptools>=40.3.0",
"six>=1.9.0",
'aiohttp >= 3.6.2, < 4.0.0dev; python_version>="3.6"',
)

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

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

0 comments on commit a924011

Please sign in to comment.