Skip to content

Commit 14ad1ff

Browse files
author
Jon Wayne Parrott
authored
Update links to namespace sample projects (pypa#302)
1 parent e548d9f commit 14ad1ff

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/namespace_packages.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ A complete working example of two native namespace packages can be found in
120120
the `native namespace package example project`_.
121121

122122
.. _native namespace package example project:
123-
https://github.com/jonparrott/namespace-pkg-tests
123+
https://github.com/pypa/sample-namespace-packages/tree/master/native
124124

125125
.. note:: Because native and pkgutil-style namespace packages are largely
126126
compatible, you can use native namespace packages in the distributions that
@@ -166,7 +166,7 @@ in the `pkgutil namespace example project`_.
166166
.. _extend_path:
167167
https://docs.python.org/3/library/pkgutil.html#pkgutil.extend_path
168168
.. _pkgutil namespace example project:
169-
https://github.com/jonparrott/namespace-pkg-tests
169+
https://github.com/pypa/sample-namespace-packages/tree/master/pkgutil
170170

171171

172172
pkg_resources-style namespace packages
@@ -236,6 +236,11 @@ to :func:`~setuptools.setup` in ``setup.py``. For example:
236236
namespace_packages=['mynamespace']
237237
)
238238
239+
A complete working example of two pkgutil-style namespace packages can be found
240+
in the `pkg_resources namespace example project`_.
241+
239242
.. _setuptools: https://setuptools.readthedocs.io
240243
.. _pkg_resources.declare_namespace:
241244
https://setuptools.readthedocs.io/en/latest/setuptools.html#namespace-packages
245+
.. _pkg_resources namespace example project:
246+
https://github.com/pypa/sample-namespace-packages/tree/master/pkg_resources

0 commit comments

Comments
 (0)