Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 44c45f9

Browse files
committed
Allow the openweave python package version to be set from OPENWEAVE_PYTHON_VERSION when the package is built outside of Travis CI
1 parent f83b6ce commit 44c45f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device-manager/python/build-openweave-wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def finalize_options(self):
117117
if 'TRAVIS_BUILD_NUMBER' in os.environ:
118118
owPackageVer = os.environ['TRAVIS_BUILD_NUMBER']
119119
else:
120-
owPackageVer = '0.0'
120+
owPackageVer = os.environ.get('OPENWEAVE_PYTHON_VERSION', '0.0')
121121

122122
# Generate a description string with information on how/when the package
123123
# was built.

0 commit comments

Comments
 (0)