Add pbr as runtime dependency, remove wstools.version import, set version using env var
@@ -15,7 +15,7 @@ source:
build:
number: 0
skip: True # [ not py2k ]
- script: python setup.py install --single-version-externally-managed --record record.txt
+ script: PBR_VERSION=${PKG_VERSION} && export PBR_VERSION && python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
@@ -26,6 +26,7 @@ requirements:
run:
- python
- six
+ - pbr
test:
imports:
@@ -36,7 +37,6 @@ test:
- wstools.TimeoutSocket
- wstools.UserTuple
- wstools.Utility
- - wstools.version
- wstools.WSDLTools
- wstools.XMLname
- wstools.XMLSchema
