Commit 52d420e6 authored by ncoghlan's avatar ncoghlan

Update rationale for the zip_safe flag

Importing from a zip file no longer significantly reduces the number
of stat calls during import, and may even slow imports down if
too many archives are added to sys.path.

The outdated rationale was noted by Thomas Güttler on distutils-sig
parent 4582466b
......@@ -1270,7 +1270,8 @@ Creating System Packages
Setting the ``zip_safe`` flag
-----------------------------
For maximum performance, Python packages are best installed as zip files.
For some use cases (such as bundling as part of a larger application), Python
packages may be run directly from a zip file.
Not all packages, however, are capable of running in compressed form, because
they may expect to be able to access either source code or data files as
normal operating system files. So, ``setuptools`` can install your project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment