This package is a working template/example of a python3 project ready for packaging and distributing via PyPi.
Get this package by:
git clone git@github.com:Cyber-Mint/py_app_package.git
Activate the virtual environment with venv before coding, testing & packaging:
$ cd py_app_package $ python3 -m venv ~/dev/py_app_package $ source bin/activate
A packaging template for a package-able python application.
>>> import app >>> print app.say_hello()
To install source (development):
$ pip3 install -e .
But, to install from wheel binary:
$ pip3 install wheel $ pip3 install .
Once it is installed you can run the command line interface defined in setup.py:
$ app-cli
which will yield something like:
Hello World From : Kara Mclaughlin
To run the unit tests:
$ pip3 install tox $ tox
Copyright © 2020, Cyber-Mint (Pty) Ltd—all rights reserved.