diff options
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/commandline.rst | 2 | ||||
| -rw-r--r-- | docs/narr/myproject/setup.py | 2 | ||||
| -rw-r--r-- | docs/narr/project.rst | 2 |
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`` |
