Skip to content

python-developer-tooling-handbook/demo-flit

Repository files navigation

Flit

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.

Commands:

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

About

Python Package repository example using Flit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages