This is a simple packaging tutorial for Python projects.
packaging-tutorial $ tree .
.
├── LICENSE
├── README.md
├── pyproject.toml
└── src
└── packaging_tutorial
├── hello.py
└── __init__.py
pipenv install
pipenv run python -m build
You should have the dist
directory generated with the following files:
packaging-tutorial $ tree .
.
├── dist
│ ├── pkg_packaging_tutorial-0.0.1-py3-none-any.whl
│ └── pkg_packaging_tutorial-0.0.1.tar.gz
(...)
pipenv run twine upload dist/*
pipenv install pkg-packaging-tutorial