According to
https://mail.python.org/pipermail/distutils-sig/2016-July/029332.html
the correct hostname for warehouse-proxied uploads is now
upload.pypi.org instead of upload.pypi.io, and the latter may
eventually cease functioning.
Change-Id: I9bcff2d9ab2e72f089d44e3bd5689b2db5bdac31
Non instance variable representation is deprecated
so needs to be changed. This change changes varibles
to their instance variable representation.
See more details see:
http://docs.puppetlabs.com/guides/templating.html
Change-Id: Ib77827e01011ef6c0380c9ec7a9d147eafd8ce2f
* modules/openstack_project/templates/pypirc.erb: Add missing required
distutils section to pypirc. This will allow twine to properly upload
pypi packages.
Change-Id: I54110695e7652bd79cb8e87c82c82eb2c156948f
* modules/jenkins/files/slave_scripts/pypi-extract-metadata.py: Twine
deals with metadata for us, this script is no longer needed.
* modules/jenkins/files/slave_scripts/pypi-upload.sh: Use twine instead
of calculating md5sum ourselves and extracting metadata then uploading
with curl.
* modules/openstack_project/manifests/pypi_slave.pp: Insteall twine
(replaces pkginfo dependency).
* modules/openstack_project/templates/pypirc.erb: Twine can use a pypirc
to determine where and with what credentials to upload pacakges.
Create a .pypirc for twine.
Change-Id: I8a6aaf5d2c77151a60c2c660e1ff8570fc9255ea