From eda8b12c1ad380344c2b4755a9051fe3b096cbe0 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Wed, 20 May 2020 09:34:26 +0200 Subject: [PATCH] handle data in setup.py --- conda/build.sh | 6 +++--- setup.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conda/build.sh b/conda/build.sh index 46144b1..49d65b2 100644 --- a/conda/build.sh +++ b/conda/build.sh @@ -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/ diff --git a/setup.py b/setup.py index 1e16383..d3b92a0 100644 --- a/setup.py +++ b/setup.py @@ -55,5 +55,6 @@ ], extras_require={ # see conda/environment.yml - } + }, + package_data={'data': ['matchms/data/*.yaml']}, )