testwheel is an MIT-licensed dummy Python module for testing wheel.
Use bumpversion to update the version for all files:
pip install --upgrade bumpversion
pip install https://github.com/peritus/bumpversion/archive/master.zip#egg=bumpversion-dev
Distributions:
python setup.py sdist
python setup.py bdist_wheel
Create a HOME environ var with a folder where to store .pypirc:
[distutils]
index-servers=
pypi
test
[test]
repository = https://testpypi.python.org/pypi
username = <your test user name goes here>
password = <your test password goes here>
[pypi]
repository = https://pypi.python.org/pypi
username = <your production user name goes here>
password = <your production password goes here>
Then:
python setup.py register -r pypi
python setup.py register -r test
python setup.py sdist upload -r pypi
python setup.py sdist upload -r test
python setup.py bdist_wheel upload -r pypi
python setup.py bdist_wheel upload -r test
For testing if it works:
pip install testwheel
pip install -i https://testpypi.python.org/pypi testwheel
pip install -U pytest
py.test --version
pip install tox
tox
I don't know!