-
Update HISTORY.rst
-
Install the package for local development:
python setup.py develop -
Run the tests:
python setup.py test -
Commit the changes:
git add .
git commit -m "Release 0.1.1"
-
Bump Version
bumpversion minor -
Build the source distribution:
python setup.py sdist -
Test that the sdist installs:
conda create -n tmp python=3
activate tmp
cd dist
unzip my_project-0.1.1.tar.gz
cd my_project-0.1.1/
python setup.py install
<try out my_project>
deactivate
conda env remove -n tmp
- Test that it pip installs:
conda create -n tmp
activate tmp
pip install my_project
<try out my_project>
deactivate
conda env remove -n tmp
Push it
- Push:
git push - Push tags:
git push --tags