Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit e33d8ea

Browse files
authored
clean up package specific dependencies (#557)
1 parent a4820a9 commit e33d8ea

4 files changed

Lines changed: 6 additions & 15 deletions

File tree

contrib/opencensus-ext-jaeger/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
long_description=open('README.rst').read(),
4141
install_requires=[
4242
'opencensus >= 0.4.dev0, < 1.0.0',
43+
'thrift >= 0.10.0',
4344
],
4445
extras_require={},
4546
license='Apache-2.0',

contrib/opencensus-ext-stackdriver/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
include_package_data=True,
4040
long_description=open('README.rst').read(),
4141
install_requires=[
42+
'google-cloud-monitoring >= 0.30.0, < 1.0.0',
4243
'google-cloud-trace >= 0.20.0, < 1.0.0',
4344
'opencensus >= 0.4.dev0, < 1.0.0',
4445
],

requirements-test.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
google-cloud-monitoring==0.31.0
2-
google-cloud-trace==0.20.1
31
mock==2.0.0
42
pytest==3.2.2
53
pytest-cov==2.5.1
64
retrying==1.3.3
7-
WebOb==1.7.3
8-
thrift==0.10.0
95
unittest2==1.1.0

setup.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818

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

21-
extras = {
22-
'prometheus_client': ['prometheus_client==0.3.1'],
23-
'stackdriver': ['google-cloud-trace>=0.20.1, <0.30'],
24-
}
25-
26-
install_requires = [
27-
'google-api-core >= 1.0.0, < 2.0.0',
28-
]
29-
3021
setup(
3122
name='opencensus',
3223
version=__version__, # noqa
@@ -48,8 +39,10 @@
4839
description='A stats collection and distributed tracing framework',
4940
include_package_data=True,
5041
long_description=open('README.rst').read(),
51-
install_requires=install_requires,
52-
extras_require=extras,
42+
install_requires=[
43+
'google-api-core >= 1.0.0, < 2.0.0',
44+
],
45+
extras_require={},
5346
license='Apache-2.0',
5447
packages=find_packages(exclude=('tests',)),
5548
namespace_packages=[],

0 commit comments

Comments
 (0)