- Local clone of this repository
- Twine (
pip3 install twine
) - Account on test.pypi.org
- Account on pypi.org
-
Ensure the version in docklib/__init__.py has been updated.
-
Ensure the change log has been updated and reflects actual release date.
-
Merge development branch to main/master branch.
-
Run docklib unit tests and fix any errors:
managed_python3 -m unittest -v tests.unit
-
Build a new distribution package:
rm -fv dist/* python3 setup.py sdist bdist_wheel
-
Upload package to test.pypi.org:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
-
View resulting project on test.pypi.org and make sure it looks good.
-
Install test docklib in MacAdmins Python on a test Mac:
managed_python3 -m pip install --upgrade -i https://test.pypi.org/simple/ docklib
-
Perform tests - manual for now.
-
Upload package to pypi.org:
twine upload dist/*
-
View resulting project on pypi.org and make sure it looks good.
-
Install production docklib in MacAdmins Python on a test Mac:
managed_python3 -m pip install --upgrade docklib
-
Build new installer package using build_pkg.sh:
./build_pkg.sh
By default the resulting package is unsigned. To sign the package, provide the name of the signing certificate from your macOS keychain.
./build_pkg.sh "Developer ID Installer: John Doe (ABCDE12345)"
-
Create new release on GitHub. Add notes from change log. Attach built installer package.
-
Announce to dock-management and other relevant channels, if desired.