A example package to learn and test Python packaging.
https://packaging.python.org/tutorials/packaging-projects/
Checkout git repository:
git clone [email protected]:cloos/python_example_pkg_cloos.gitInstall package in 'development mode':
make developRun tests:
make testCreate Git tag:
git tag -m "release 0.0.1" 0.0.1
git push --tagsUpload to https://test.pypi.org/:
make upload_test
Upload to https://pypi.org/:
make uploadpip install example-pkg-cloosCli:
example-pkg-cloos --helpLibrary:
from example_pkg_cloos.utils import print_bar, print_foo
print_bar()
print_foo()