Skip to content

Commit c0f7635

Browse files
adjust to src/ based project layout
1 parent 6f5ab5b commit c0f7635

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.coveragerc

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
[run]
44
branch = True
5-
source = nsupdate
5+
source = src/nsupdate
66
omit =
7-
*/migrations/*
8-
*/_tests/*
9-
nsupdate/wsgi.py
10-
nsupdate/settings/*
7+
src/*/migrations/*
8+
src/*/_tests/*
9+
src/nsupdate/wsgi.py
10+
src/nsupdate/settings/*
1111

1212
[report]
1313
# Regexes for lines to exclude from consideration

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
description='A dynamic DNS update service',
1919
long_description=readme_content,
2020
keywords="dyndns ddns dynamic dns django",
21-
packages=find_packages(exclude=['_tests', ]),
21+
packages=find_packages('src', exclude=['_tests', ]),
22+
package_dir={'': 'src'},
2223
package_data={
2324
'nsupdate': [
2425
'templates/*.html',

0 commit comments

Comments
 (0)