A example package to learn and test Python packaging.
Project description
A example package to learn and test Python packaging.
https://packaging.python.org/tutorials/packaging-projects/
Development workflow
Checkout git repository:
$ git clone git@github.com:cloos/python_example_pkg_cloos.git
Create virtualenv:
$ make venv
Activate virtualenv:
$ source venv/bin/activate
Install/Upgrade packaging tools:
$ make install
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for example_pkg_cloos-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c7e2dda168d22b36e35b5397efdf7f3b538b1afe03cf4c2b65c71509e491a3 |
|
MD5 | 3522252b4c5198580c977f4548fc1276 |
|
BLAKE2b-256 | e156a768f26c1061e92838668baa5061d540ade4781bd463f3b2724393b8c6f3 |