Create a new virtualenv and install the required libraries
mkvirtualenv -p python3 python-thermoworks-smoke # if you have virtualenvwrapper installed
pip install --upgrade -r requirements.txt
- Install/Update build dependencies:
pip install --upgrade -r requirements.build.txt
- Increment the version number in setup.py
- Create the package files:
python setup.py sdist bdist_wheel
- Upload to test pypi repo:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Check that package installs and works in another project:
pip install --index-url https://test.pypi.org/simple/ thermoworks-smoke==[new version]
- Upload to main pypi repo:
twine upload dist/*
NOTE: Registration for https://test.pypi.org is separate from https://pypi.org