Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.42 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.42 KB

example_pkg_cloos

PyPI PyPI - License PyPI - Python Version Python package Code style: black

A example package to learn and test Python packaging.

https://packaging.python.org/tutorials/packaging-projects/

Development workflow

Checkout git repository:

git clone [email protected]:cloos/python_example_pkg_cloos.git

Install package in 'development mode':

make develop

Run tests:

make test

Create Git tag:

git tag -m "release 0.0.1" 0.0.1
git push --tags

Upload to https://test.pypi.org/:

make upload_test

Upload to https://pypi.org/:

make upload

Usage

pip install example-pkg-cloos

Cli:

example-pkg-cloos --help

Library:

from example_pkg_cloos.utils import print_bar, print_foo

print_bar()
print_foo()