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]
branch = True
source = nsupdate
source = src/nsupdate
omit =
*/migrations/*
*/_tests/*
nsupdate/wsgi.py
nsupdate/settings/*
src/*/migrations/*
src/*/_tests/*
src/nsupdate/wsgi.py
src/nsupdate/settings/*
[report]
# Regexes for lines to exclude from consideration

View File

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