Skip to content

Commit

Permalink
Merge pull request #1553 from dhermes/enable-grpcio
Browse files Browse the repository at this point in the history
Adding grpcio to setup.py as an extra.
  • Loading branch information
dhermes committed Mar 3, 2016
2 parents cba090e + bcd9d3d commit 1193eab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os


from setuptools import setup
from setuptools import find_packages

Expand All @@ -19,6 +18,7 @@
'pyOpenSSL',
'six',
]
GRPC_EXTRAS = ['grpcio >= 0.13.0']

setup(
name='gcloud',
Expand All @@ -35,6 +35,7 @@
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS,
extras_require={'grpc': GRPC_EXTRAS},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ covercmd =
--cover-branches \
--nocapture

[testenv:py27]
basepython =
python2.7
deps =
{[testenv]deps}
grpcio >= 0.13.0
setenv =
PYTHONPATH =

[testenv:cover]
basepython =
python2.7
Expand Down

0 comments on commit 1193eab

Please sign in to comment.