This package is an example project for building a Python package (i.e., wheel or sdist). It relies on Flit as a build backend with pyproject.toml for configuration.
Note
flit (like setuptools) doesn't manage your virtual environment. You'll need to create and activate one yourself (e.g. with venv).
- Editable install:
flit install --symlink --deps=all
- Run code:
python -c "import flit_demo_package"
- Build:
flit build
- Upload to PyPI:
flit publish