Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Commit

Permalink
handle data in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fdiblen committed May 20, 2020
1 parent f3aff59 commit eda8b12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ env

$PYTHON -m pip install --no-deps --ignore-installed . -vv

# Copy data folder
mkdir -p $PREFIX/site-packages/matchms/data
cp matchms/data/* $PREFIX/site-packages/matchms/data/
# # Copy data folder
# mkdir -p $PREFIX/site-packages/matchms/data
# cp matchms/data/* $PREFIX/site-packages/matchms/data/
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@
],
extras_require={
# see conda/environment.yml
}
},
package_data={'data': ['matchms/data/*.yaml']},
)

0 comments on commit eda8b12

Please sign in to comment.