background preloader

Packaging

Facebook Twitter

PyPI server and packaging/testing/release tool — devpi 2.1.2 documentation. The MIT-licensed devpi system features a powerful PyPI-compatible server and a complimentary command line tool to drive packaging, testing and release activities with Python. Main features and usage scenarios: fast PyPI mirror: use a local self-updating pypi.python.org caching mirror which works with pip and easy_install. After an initial cache-fill it can work off-line and will re-synchronize when you get online again.uploading, testing and staging: upload Python archives and documentation to private indexes. Trigger testing of your uploaded release files with tox and record them with each release file. When ready push your successfully tested release files and documentation to another index (staging).

You can also push a release to an external index such as .index inheritance: Each index can inherit packages from another index, including the pypi cache root/pypi. This allows to have development indexes that also contain all releases from a production index. Stevedore – Manage Dynamic Plugins for Python Applications — stevedore 0.14.1 documentation. Python Wheels. Packaging pratique (fr) [Python Packaging] Distutils2. 14.1. Introduction There are two schools of thought when it comes to installing applications. The first, common to Windows and Mac OS X, is that applications should be self-contained, and their installation should not depend on anything else. This philosophy simplifies the management of applications: each application is its own standalone "appliance", and installing and removing them should not disturb the rest of the OS.

If the application needs an uncommon library, that library is included in the application's distribution. The second school, which is the norm for Linux-based systems, treats software as a collection of small self-contained units called packages. Libraries are bundled into packages, any given library package might depend on other packages. There are pros and cons to each approach. But that modularity is seen as a drawback by some developers, because they're not in control of their applications and dependencies.

Terminology 14.2. Sometimes, this is simply impossible.

VirtualEnvironment