aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-08-30 21:55:23 +1000
committerNick Coghlan <ncoghlan@gmail.com>2013-08-30 21:55:23 +1000
commitafe5e690c83adb9efea6f2eb774d9bf9798053fb (patch)
tree9f0a21c9acb7c12fc46ee4c4e3cab53ada358438 /docs
parentb72b9d1d538f200a3531903c6cd7a1bf7e3e22bd (diff)
downloadexternal_python_setuptools-afe5e690c83adb9efea6f2eb774d9bf9798053fb.tar.gz
external_python_setuptools-afe5e690c83adb9efea6f2eb774d9bf9798053fb.tar.bz2
external_python_setuptools-afe5e690c83adb9efea6f2eb774d9bf9798053fb.zip
Add back a more descriptive intro
--HG-- branch : docs_update_for_requires
Diffstat (limited to 'docs')
-rw-r--r--docs/pkg_resources.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/pkg_resources.txt b/docs/pkg_resources.txt
index b2166b54..6c93b57d 100644
--- a/docs/pkg_resources.txt
+++ b/docs/pkg_resources.txt
@@ -26,6 +26,21 @@ zip archive or subdirectory), while others (such as plugin discovery) will
work correctly so long as "egg-info" metadata directories are available for
relevant distributions.
+Eggs are a distribution format for Python modules, similar in concept to
+Java's "jars" or Ruby's "gems", or the "wheel" format defined in PEP 427.
+However, unlike a pure distribution format, egg can also be installed and
+added directly to ``sys.path`` as an import location. When installed in
+this way, eggs are *discoverable*, meaning that they carry metadata that
+unambiguously identifies their contents and dependencies. This means that
+an installed egg can be *automatically* found and added to ``sys.path`` in
+response to simple requests of the form, "get me everything I need to use
+docutils' PDF support". This feature allows mutually conflicting versions of
+a distribution to co-exist in the same Python installation, with individual
+applications activating the desired version at runtime by manipulating the
+contents of ``sys.path`` (this differs from the virtual environment
+approach, which involves creating isolated environments for each
+application).
+
The following terms are needed in order to explain the capabilities offered
by this module: