Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 942 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 942 Bytes

template python package

Simple template of package OS independent for Python 3.7

Publish

Int The Python Package Index (PyPI) register an account.

More info about package

Packaging-projects

Build require setuptools

python3 -m pip install --user --upgrade setuptools wheel

Send require twine

python3 -m pip install --user --upgrade twine

Build and upload

python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

Installation

Some environment is pip3, check if get a error

pip install your_package_name

Usage from terminal (maybe)

python3 -m your_package_name

Usage as a lib (maybe)

from your_package_name import some_function
some_function(magic)