Skip to content

Commit

Permalink
adding manifest for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
agramfort committed Jun 11, 2018
1 parent 55a3edd commit 6eb2db1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ install:
- source activate testenv
- conda install --yes --quiet numpy=1.12 scipy=0.19 scikit-learn=0.18 matplotlib
- conda install --yes --quiet nose coverage
- pip install -q flake8 mne
- pip install -q flake8 mne check-manifest
- pip install coverage coveralls
- python setup.py install
script:
Expand Down
16 changes: 16 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
include *.yml
include LICENSE
recursive-include autoreject *.py
recursive-include examples *.py
recursive-include examples *.txt

### Exclude

exclude Makefile
exclude .coveragerc
exclude *.yml
exclude dictionary.txt
exclude .mailmap
recursive-exclude autoreject *.pyc

recursive-exclude doc *
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ test-coverage:
$(NOSETESTS) -s --with-coverage --cover-html --cover-html-dir=coverage \
--cover-package=autoreject autoreject

test: test-code test-doc
test-manifest:
check-manifest --ignore doc;

test: test-code test-doc test-manifest

trailing-spaces:
find . -name "*.py" | xargs perl -pi -e 's/[ \t]*$$//'
Expand Down

0 comments on commit 6eb2db1

Please sign in to comment.