diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-02-23 16:38:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-23 16:38:38 -0500 |
| commit | d2adf3daa1206b9950b5185fb0a56b6ea84658e3 (patch) | |
| tree | 6dfa2e121cf70aca7b84cd9db79b9b0034d29a4b /docs/pkg_resources.txt | |
| parent | 05d47d9fc7a5d1509734a2205fd2c976d22996b1 (diff) | |
| parent | 5c80844b0291ef2b326bcf8cf79e9a69dbd01a6b (diff) | |
| download | python-setuptools-git-d2adf3daa1206b9950b5185fb0a56b6ea84658e3.tar.gz | |
Merge branch 'master' into feature/upload-infer-username
Diffstat (limited to 'docs/pkg_resources.txt')
| -rw-r--r-- | docs/pkg_resources.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/pkg_resources.txt b/docs/pkg_resources.txt index e8412b33..487320ce 100644 --- a/docs/pkg_resources.txt +++ b/docs/pkg_resources.txt @@ -143,10 +143,10 @@ namespace package for Zope Corporation packages, and the ``peak`` namespace package for the Python Enterprise Application Kit. To create a namespace package, you list it in the ``namespace_packages`` -argument to ``setup()``, in your project's ``setup.py``. (See the `setuptools -documentation on namespace packages`_ for more information on this.) Also, -you must add a ``declare_namespace()`` call in the package's ``__init__.py`` -file(s): +argument to ``setup()``, in your project's ``setup.py``. (See the +:ref:`setuptools documentation on namespace packages <Namespace Packages>` for +more information on this.) Also, you must add a ``declare_namespace()`` call +in the package's ``__init__.py`` file(s): ``declare_namespace(name)`` Declare that the dotted package name `name` is a "namespace package" whose @@ -175,8 +175,6 @@ filesystem and zip importers, you can extend its support to other "importers" compatible with PEP 302 using the ``register_namespace_handler()`` function. See the section below on `Supporting Custom Importers`_ for details. -.. _setuptools documentation on namespace packages: http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages - ``WorkingSet`` Objects ====================== |
