Search⌘ K
AI Features

Writing Your Setup Script

Understand how to write a basic and standardized Distutils setup script to package Python libraries. Explore essential named parameters such as name, version, author, and packages to ensure proper distribution and avoid common issues.

We'll cover the following...

The Distutils setup script is a Python script. In theory, it can do anything Python can do. In practice, it should do as little as possible, in as standard a way as possible. Setup scripts should be boring. The more exotic your installation process is, the more exotic your bug ...