summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-03 22:59:27 -0600
committerMichael Merickel <michael@merickel.org>2020-01-03 22:59:27 -0600
commitb349c2ba948148d2f5441308c6646f624100b364 (patch)
tree7b088836b570b401caf510f130f144404cb19ca4 /docs/narr
parentb629ee810ccf9ffb4f166f3e766c8f795a0cecdb (diff)
downloadpyramid-b349c2ba948148d2f5441308c6646f624100b364.tar.gz
pyramid-b349c2ba948148d2f5441308c6646f624100b364.tar.bz2
pyramid-b349c2ba948148d2f5441308c6646f624100b364.zip
exclude tests package from source packages
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/commandline.rst2
-rw-r--r--docs/narr/myproject/setup.py2
-rw-r--r--docs/narr/project.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 0c5189903..149488206 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -1025,7 +1025,7 @@ top-level directory, your ``setup.py`` file will look something like this:
author_email='',
url='',
keywords='web pyramid pylons',
- packages=find_packages(),
+ packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
install_requires=requires,
diff --git a/docs/narr/myproject/setup.py b/docs/narr/myproject/setup.py
index 40aa2c53b..e5872df29 100644
--- a/docs/narr/myproject/setup.py
+++ b/docs/narr/myproject/setup.py
@@ -37,7 +37,7 @@ setup(
author_email='',
url='',
keywords='web pyramid pylons',
- packages=find_packages(),
+ packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
extras_require={
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index c65bdb178..043f77754 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -803,7 +803,7 @@ application. ``author`` and ``author_email`` are text fields which probably
don't need any description. ``url`` is a field that should point at your
application project's URL (if any).
``keywords`` are keywords that describe your project.
-``packages=find_packages()`` causes all
+``packages=find_packages(exclude=['tests'])`` causes all
packages within the project to be found when packaging the application.
``include_package_data`` will include non-Python files when the application is
packaged if those files are checked into version control. ``zip_safe=False``