summaryrefslogtreecommitdiff
path: root/docs/userguide/package_discovery.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/userguide/package_discovery.rst')
-rw-r--r--docs/userguide/package_discovery.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/userguide/package_discovery.rst b/docs/userguide/package_discovery.rst
index 0e0d27c5..de4ef668 100644
--- a/docs/userguide/package_discovery.rst
+++ b/docs/userguide/package_discovery.rst
@@ -6,13 +6,13 @@ Package Discovery and Namespace Package
.. note::
a full specification for the keyword supplied to ``setup.cfg`` or
- ``setup.py`` can be found at :ref:`keywords reference <keywords_ref>`
+ ``setup.py`` can be found at :doc:`keywords reference <keywords>`
.. note::
the examples provided here are only to demonstrate the functionality
introduced. More metadata and options arguments need to be supplied
if you want to replicate them on your system. If you are completely
- new to setuptools, the :ref:`quickstart section <quickstart>` is a good
+ new to setuptools, the :doc:`quickstart section <quickstart>` is a good
place to start.
``Setuptools`` provide powerful tools to handle package discovery, including
@@ -90,13 +90,15 @@ in ``src`` that starts with the name ``pkg`` and not ``additional``:
packages = find_packages(
where = 'src',
include = ['pkg*',],
- exclude = ['tests',]
+ exclude = ['additional',]
),
package_dir = {"":"src"}
#...
)
+.. _Namespace Packages:
+
Using ``find_namespace:`` or ``find_namespace_packages``
========================================================
``setuptools`` provides the ``find_namespace:`` (``find_namespace_packages``)