diff --git a/.travis.yml b/.travis.yml index 611a930a..11c29637 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,8 +31,11 @@ jobs: script: skip deploy: provider: pypi + # tmp workaround from travis CI + # https://travis-ci.community/t/cant-deploy-to-pypi-anymore-pkg-resources-contextualversionconflict-importlib-metadata-0-18/10494/10 + install: pip install keyring==21.4.0 username: "__token__" - password: PYPI_API_TOKEN + password: $PYPI_API_TOKEN on: tags: true skip_existing: true diff --git a/orbit/__init__.py b/orbit/__init__.py index cc9fb737..9838b990 100644 --- a/orbit/__init__.py +++ b/orbit/__init__.py @@ -1,3 +1,3 @@ name = 'orbit' -__version__ = '1.0.6' +__version__ = '1.0.9' diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..3886c687 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +version = attr: orbit.__version__ \ No newline at end of file diff --git a/setup.py b/setup.py index d0102f96..4ac95f8e 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ # dist.Distribution().fetch_build_eggs(['cython']) -VERSION = '1.0.6' +# VERSION = '1.0.6' DESCRIPTION = "Orbit is a package for bayesian time series modeling and inference." AUTHOR = '''Edwin Ng , Steve Yang , Huigang Chen , Zhishi Wang ''' @@ -60,7 +60,7 @@ def run_tests(self): name='orbit-ml', packages=find_packages(), url='https://uber.github.io/orbit/', - version=VERSION, + # version=VERSION, # being maintained by source module zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha',