adjust to src/ based project layout

This commit is contained in:
Thomas Waldmann 2019-04-04 01:23:40 +02:00
parent 6f5ab5b4c8
commit c0f763515a
2 changed files with 7 additions and 6 deletions

View File

@ -2,12 +2,12 @@
[run] [run]
branch = True branch = True
source = nsupdate source = src/nsupdate
omit = omit =
*/migrations/* src/*/migrations/*
*/_tests/* src/*/_tests/*
nsupdate/wsgi.py src/nsupdate/wsgi.py
nsupdate/settings/* src/nsupdate/settings/*
[report] [report]
# Regexes for lines to exclude from consideration # Regexes for lines to exclude from consideration

View File

@ -18,7 +18,8 @@ setup(
description='A dynamic DNS update service', description='A dynamic DNS update service',
long_description=readme_content, long_description=readme_content,
keywords="dyndns ddns dynamic dns django", keywords="dyndns ddns dynamic dns django",
packages=find_packages(exclude=['_tests', ]), packages=find_packages('src', exclude=['_tests', ]),
package_dir={'': 'src'},
package_data={ package_data={
'nsupdate': [ 'nsupdate': [
'templates/*.html', 'templates/*.html',