This repository was archived by the owner on Sep 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
opencensus/trace/exporters
tests/unit/trace/exporters Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Release OpenCensus Python
2+
3+ ## Steps
4+
5+ ### Create a Github release
6+
7+ ### Update the version number in ` setup.py `
8+
9+ ### Update the version number in ` stackdriver_exporter.py `
10+
11+ ### Build the Python wheel
12+
13+ ```
14+ python setup.py bdist_wheel
15+ ```
16+
17+ ### Upload the package to PyPI using twine
18+
19+ ```
20+ twine upload dist/*
21+ ```
Original file line number Diff line number Diff line change 2323
2424
2525# OpenCensus Version
26- VERSION = '0.1.1 '
26+ VERSION = '0.1.2 '
2727
2828# Agent
2929AGENT = 'opencensus-python [{}]' .format (VERSION )
Original file line number Diff line number Diff line change 2323
2424setup (
2525 name = 'opencensus' ,
26- version = '0.1.0 ' ,
26+ version = '0.1.2 ' ,
2727 author = 'OpenCensus Authors' ,
2828 author_email = 'census-developers@googlegroups.com' ,
2929 classifiers = [
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def test_emit(self):
9292 'g.co/agent' : {
9393 'string_value' : {
9494 'truncated_byte_count' : 0 ,
95- 'value' : 'opencensus-python [0.1.1]'
95+ 'value' : 'opencensus-python [{}]' . format ( stackdriver_exporter . VERSION )
9696 }
9797 }
9898 }
@@ -185,7 +185,8 @@ def test_translate_to_stackdriver(self):
185185 'g.co/agent' : {
186186 'string_value' : {
187187 'truncated_byte_count' : 0 ,
188- 'value' : 'opencensus-python [0.1.1]' }
188+ 'value' : 'opencensus-python [{}]' .format (stackdriver_exporter .VERSION )
189+ }
189190 },
190191 'key' : {
191192 'string_value' : {
@@ -247,7 +248,7 @@ def test_set_attributes_gae(self):
247248 'g.co/agent' : {
248249 'string_value' : {
249250 'truncated_byte_count' : 0 ,
250- 'value' : 'opencensus-python [0.1.1]'
251+ 'value' : 'opencensus-python [{}]' . format ( stackdriver_exporter . VERSION )
251252 }
252253 },
253254 }
You can’t perform that action at this time.
0 commit comments