setup: do not include tests as module package (#22462)

This commit is contained in:
Frédéric Péters 2018-03-12 12:09:29 +01:00
parent 7a567c7a27
commit e27ba1172a
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ recursive-include combo/apps/wcs/templates *.html
recursive-include combo/manager/templates *.html
recursive-include combo/public/templates *.html
recursive-include tests *.py
recursive-include tests/data *.jpeg
include COPYING README

View File

@ -119,7 +119,7 @@ setup(
description='Content Manager',
author='Frederic Peters',
author_email='fpeters@entrouvert.com',
packages=find_packages(),
packages=find_packages(exclude=['tests']),
include_package_data=True,
scripts=('manage.py',),
data_files=data_tree('share/publik/themes/', 'data/themes/'),