initpkg is a python package that creates a python package structure for you.
Check PyPI page: https://pypi.org/project/initpkg/
You can install from Pypi:
pip install initpkg
Or install from the latest master branch:
pip install git+https://github.com/wlongxiang/initpkg.git@master
In command line, run:
initpkg <your-package-name>
- Bump version number in
__init__.py
- Push it to git repo
- Rerun
setup.py
to build python wheels or egg file - Tag with the version number following the format of
v1.2.3
- Push the tag to git repo
- Upload to PyPi with Twine command
In CLI (you have to bump the version and push to git manually first):
make publish version=<version>