diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-14 23:17:20 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-14 23:46:11 -0500 |
| commit | f9da0b676f29444b7d3628d0340b081fb02d4aa2 (patch) | |
| tree | 031fbef2abec8e6f7ebb1e7bcb4a91ec9cca685f /setup.py | |
| parent | dd3cc81f75dcb5ff96e0751653071722a15f46c2 (diff) | |
| download | pyramid-f9da0b676f29444b7d3628d0340b081fb02d4aa2.tar.gz pyramid-f9da0b676f29444b7d3628d0340b081fb02d4aa2.tar.bz2 pyramid-f9da0b676f29444b7d3628d0340b081fb02d4aa2.zip | |
fix tests to run from the tests folder
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -81,7 +81,8 @@ setup(name='pyramid', author_email="pylons-discuss@googlegroups.com", url="https://trypyramid.com", license="BSD-derived (http://www.repoze.org/LICENSE.txt)", - packages=find_packages(), + packages=find_packages('src', exclude=['tests']), + package_dir={'': 'src'}, include_package_data=True, zip_safe=False, python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', @@ -92,7 +93,7 @@ setup(name='pyramid', 'docs': docs_extras, }, tests_require=tests_require, - test_suite="pyramid.tests", + test_suite="tests", entry_points="""\ [pyramid.scaffold] starter=pyramid.scaffolds:StarterProjectTemplate |
