diff --git a/.travis.yml b/.travis.yml index cdf3ace..bbf67a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,6 @@ install: - sudo apt-get update - sudo apt-get install pandoc - pip install pypandoc -- echo -e "machine github.ibm.com\n login $GITHUB_OAUTH_TOKEN" > ~/.netrc - pip install setuptools=="60.8.2" script: @@ -42,6 +41,7 @@ deploy: python: '3.10' branch: master - provider: pypi + setuptools_version: "60.8.2" user: __token__ password: $PYPI_TOKEN repository: https://upload.pypi.org/legacy diff --git a/setup.py b/setup.py index 350e9f3..1ffd1c8 100644 --- a/setup.py +++ b/setup.py @@ -4,10 +4,11 @@ with open("README.md", "r") as rfh: long_description = rfh.read() +__version__ = '2.2.0' setuptools.setup( name = "keyprotect", - version = "2.2.0", + version = __version__, description = "A Pythonic client for IBM Key Protect", long_description = long_description, long_description_content_type = "text/markdown",