diff options
author | ncoghlan <ncoghlan@gmail.com> | 2016-04-12 00:10:49 +1000 |
---|---|---|
committer | ncoghlan <ncoghlan@gmail.com> | 2016-04-12 00:10:49 +1000 |
commit | 52d420e6309d2be19e848cfb32a43191e4623e6b (patch) | |
tree | 24f8fb58165ce2e9e68c0206506459b8640b6e13 | |
parent | 4582466b53d2f76dbdbba263537f31502816821e (diff) | |
download | external_python_setuptools-52d420e6309d2be19e848cfb32a43191e4623e6b.tar.gz external_python_setuptools-52d420e6309d2be19e848cfb32a43191e4623e6b.tar.bz2 external_python_setuptools-52d420e6309d2be19e848cfb32a43191e4623e6b.zip |
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
-rw-r--r-- | docs/setuptools.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt index eeeab937..57818281 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -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 |