https://wiki.python.org/moin/TestPyPI
[distutils]
index-servers=
pypi
testpypi
[testpypi]
repository = https://test.pypi.org/legacy/
username = valery-tschopp
password = ********
[pypi]
username = valery-tschopp
password = **********
rm -fr build dist radosgw_admin.egg-info
python setup.py sdist bdist_wheel
rm -fr test-local-venv
virtualenv test-local-venv
. test-local-venv/bin/activate
python setup.py install
. os.s1-admin.sh
python examples/radosgw-admin-example.py --hostname $S3_HOSTNAME --access-key $S3_ACCESS_KEY --secret-key $S3_SECRET_KEY
deactivate
twine upload -r testpypi dist/*
Check https://test.pypi.org
rm -fr test-package-venv
virtualenv test-package-venv
. test-package-venv/bin/activate
pip install -i https://test.pypi.org/simple/ radosgw-admin
. os.s1-admin.sh
python examples/radosgw-admin-example.py --hostname $S3_HOSTNAME --access-key $S3_ACCESS_KEY --secret-key $S3_SECRET_KEY
deactivate
twine upload dist/*
Check https://pypi.python.org
rm -fr test-package-venv
virtualenv test-package-venv
. test-package-venv/bin/activate
pip install radosgw-admin
. os.s1-admin.sh
python examples/radosgw-admin-example.py --hostname $S3_HOSTNAME --access-key $S3_ACCESS_KEY --secret-key $S3_SECRET_KEY
cp ../examples/*.py .
deactivate