Skip to content

Commit ba0a577

Browse files
authored
refactor namespace package - add test integration and release for contrib package (census-instrumentation#531)
* add package test integration and release * fix system test * fix CI failure in docs session * refactor packaging script * use simple package name * use simple package name * add change log
1 parent ab363df commit ba0a577

File tree

16 files changed

+41
-12
lines changed

16 files changed

+41
-12
lines changed

.coveragerc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ branch = True
33
omit =
44
*gen/jaeger*
55
*gen/opencensus*
6+
opencensus/__init__.py
7+
opencensus/common/__init__.py
68

79
[report]
810
fail_under = 100
@@ -15,3 +17,5 @@ exclude_lines =
1517
omit =
1618
*gen/jaeger*
1719
*gen/opencensus*
20+
opencensus/__init__.py
21+
opencensus/common/__init__.py
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## Unreleased
4+
5+
- Add this changelog.
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal = 1

contrib/opencensus-common-correlationcontext/setup.py renamed to contrib/opencensus-correlation/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from version import __version__
1818

1919
setup(
20-
name='opencensus-common-correlationcontext',
20+
name='opencensus-correlation',
2121
version=__version__, # noqa
2222
author='OpenCensus Authors',
2323
author_email='census-developers@googlegroups.com',
@@ -43,6 +43,6 @@
4343
license='Apache-2.0',
4444
packages=find_packages(exclude=('tests',)),
4545
namespace_packages=[],
46-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-common-correlationcontext',
46+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-correlation',
4747
zip_safe=False,
4848
)

0 commit comments

Comments
 (0)