Packages (bis)

Installing Your Package Locally

Editable Installation (Development Mode)

This creates a link to your package, so changes are reflected immediately:

pip install -e .

Regular Installation

pip install .

Building Your Package

First, install build tools:

pip install build

Then build your package:

python -m build

This creates two files in the dist/ directory:

  • .tar.gz - Source distribution
  • .whl - Wheel (binary) distribution