Skip to content

Lecture 12 — From scripts to an installable package

Tue 3 Nov 2026 · Boris Bolliet

TL;DR — An installed package is found through sys.path from any folder. pyproject.toml declares what to install. The wheel holds only what the declarations name.

Slides Notes Self-test

Demonstration files

File View Download Colab
lecture12-mine.ipynb Open in Colab
lecture12.ipynb Open in Colab

No new data in this lecture.

Content

  1. The import system
  2. Project metadata and installation
  3. Console commands and the public interface
  4. Wheels

Exercises with solutions