Skip to content

Commit

Permalink
Merge pull request #7 from ikalnytskyi/use-src
Browse files Browse the repository at this point in the history
Use src/ based project layout
  • Loading branch information
ikalnytskyi authored Nov 25, 2017
2 parents f2dee3f + 7a61db4 commit dde2958
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[run]
branch = true
parallel = true
source = picobox

[paths]
source =
src/
*/site-packages/

[report]
exclude_lines =
# __repr__ is used for debug purposes and is not something we want to
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
license='MIT',
author='Ihor Kalnytskyi',
author_email='[email protected]',
packages=setuptools.find_packages(exclude=['docs', 'tests*']),
packages=setuptools.find_packages(where='src'),
package_dir={'': 'src'},
use_scm_version={
'root': here,
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ deps =
pytest
commands =
{envpython} -m coverage run -m pytest --strict {posargs:}
{envpython} -m coverage combine
{envpython} -m coverage report -m

[testenv:metadata]
Expand Down

0 comments on commit dde2958

Please sign in to comment.