Browse Source

Deploy using twine.

hotfix/merge
Marcos Pereira 6 years ago
parent
commit
8ca8ee764e
  1. 4
      bin/deploy.sh
  2. 4
      docs/source/conf.py
  3. 1
      requirements.txt
  4. 2
      setup.py

4
bin/deploy.sh

@ -5,9 +5,9 @@ cat << EOF > /root/.pypirc
index-servers=pypi index-servers=pypi
[pypi] [pypi]
repository=https://upload.pypi.org/legacy/
username=${PYPI_USERNAME} username=${PYPI_USERNAME}
password=${PYPI_PASSWORD} password=${PYPI_PASSWORD}
EOF EOF
python setup.py sdist upload -r pypi
python setup.py sdist
twine upload dist/*

4
docs/source/conf.py

@ -60,9 +60,9 @@ author = 'Marcos Pereira'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '0.17.2'
version = '0.17.0'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '0.17.2'
release = '0.17.0'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

1
requirements.txt

@ -1,3 +1,4 @@
requests>=2.18.4 requests>=2.18.4
httmock>=1.2.5 httmock>=1.2.5
python-jose>=1.4.0 python-jose>=1.4.0
twine==1.13.0

2
setup.py

@ -7,7 +7,7 @@ with open("README.md", "r") as fh:
setup( setup(
name='python-keycloak', name='python-keycloak',
version='0.17.2',
version='0.17.0',
url='https://bitbucket.org/agriness/python-keycloak', url='https://bitbucket.org/agriness/python-keycloak',
license='The MIT License', license='The MIT License',
author='Marcos Pereira', author='Marcos Pereira',

Loading…
Cancel
Save