Packaging, from Distutils to Distutils2
Packaging or installing a Python application can be extremely painful. This talk will deep-dive into the new Distutils2 features and explain how you can use them in your project today to make life easier for everyone (users, OS package managers, developers, etc.).
- Distutils2 presentation and goals
- Command-driven packaging system
- Changes from Distutils1
- R.I.P. setup.py
- The new metadata fields (PEP 345)
- versions for your project (PEP 386)
- PyPI goodies
- uploading docs
- What's installed ? what to install ? (PEP 376)
- The Dependency graph tool
- Extensibility !
- Pysetup, one command to rule them all
- install !
- do other things
- Example 1: A simple Distutils2 project
- Example 2: Porting your project to Distutils2, and keep it working in Distutils/Setuptools/zc.buildout environments.
- Example 3: Creating and releasing your own commands and compilers
- Example 4: Developement process made simple with Distutils2