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.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d4e73cdd75afb264839421d7d816a652c0f6acadd3cfde9578ec6087b6fb148 |
|
MD5 | fdfa957bd2ef9449cc304ee87a63ba25 |
|
BLAKE2b-256 | 6e8b39594a25ff2f0e3d570303ac81dce123d8108f4cdac7ae9def617a413bb0 |