Skip to content

Commit

Permalink
clean up package specific dependencies (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
reyang authored Mar 14, 2019
1 parent a4820a9 commit e33d8ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
1 change: 1 addition & 0 deletions contrib/opencensus-ext-jaeger/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
long_description=open('README.rst').read(),
install_requires=[
'opencensus >= 0.4.dev0, < 1.0.0',
'thrift >= 0.10.0',
],
extras_require={},
license='Apache-2.0',
Expand Down
1 change: 1 addition & 0 deletions contrib/opencensus-ext-stackdriver/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
include_package_data=True,
long_description=open('README.rst').read(),
install_requires=[
'google-cloud-monitoring >= 0.30.0, < 1.0.0',
'google-cloud-trace >= 0.20.0, < 1.0.0',
'opencensus >= 0.4.dev0, < 1.0.0',
],
Expand Down
4 changes: 0 additions & 4 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
google-cloud-monitoring==0.31.0
google-cloud-trace==0.20.1
mock==2.0.0
pytest==3.2.2
pytest-cov==2.5.1
retrying==1.3.3
WebOb==1.7.3
thrift==0.10.0
unittest2==1.1.0
15 changes: 4 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@

exec(open('opencensus/common/version/__init__.py').read())

extras = {
'prometheus_client': ['prometheus_client==0.3.1'],
'stackdriver': ['google-cloud-trace>=0.20.1, <0.30'],
}

install_requires = [
'google-api-core >= 1.0.0, < 2.0.0',
]

setup(
name='opencensus',
version=__version__, # noqa
Expand All @@ -48,8 +39,10 @@
description='A stats collection and distributed tracing framework',
include_package_data=True,
long_description=open('README.rst').read(),
install_requires=install_requires,
extras_require=extras,
install_requires=[
'google-api-core >= 1.0.0, < 2.0.0',
],
extras_require={},
license='Apache-2.0',
packages=find_packages(exclude=('tests',)),
namespace_packages=[],
Expand Down

0 comments on commit e33d8ea

Please sign in to comment.