Skip to content

Commit

Permalink
fix #521: support develop mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed Jul 2, 2022
1 parent 4220929 commit 3881a2b
Show file tree
Hide file tree
Showing 31 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ install:
- python -m pip install .

script:
- for test in tests/__init__.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done
- for test in tests/test_*.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done
- for test in dill/tests/__init__.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done
- for test in dill/tests/test_*.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done

after_success:
- if [[ $COVERAGE == "true" ]]; then bash <(curl -s https://codecov.io/bash); else echo ''; fi
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ include MANIFEST.in
include pyproject.toml
include tox.ini
include scripts/*
include tests/*py
recursive-include docs *
include .*
prune .git
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
'Topic :: Software Development',
],
packages = ['dill','dill.tests'],
package_dir = {'dill':'dill', 'dill.tests':'tests'},
package_dir = {'dill':'dill', 'dill.tests':'dill/tests'},
scripts=['scripts/undill','scripts/get_objgraph'],
)

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ whitelist_externals =
bash
commands =
{envpython} -m pip install .
bash -c "failed=0; for test in tests/__main__.py; do echo $test; \
bash -c "failed=0; for test in dill/tests/__main__.py; do echo $test; \
{envpython} $test || failed=1; done; exit $failed"

0 comments on commit 3881a2b

Please sign in to comment.