Skip to content

Commit

Permalink
Better packaging of data files
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Dec 15, 2020
1 parent d23e0d4 commit 236ff56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ include LICENSE.txt
include requirements.txt
include dev-requirements.txt

recursive-include skued/baseline/data *
recursive-include skued/simulation/data *
recursive-include skued/*/tests/data *

recursive-exclude docs *

global-exclude *.py[cod] __pycache__ *.so *.dylib
13 changes: 0 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
AUTHOR_EMAIL = "[email protected]"
BASE_PACKAGE = "skued"

WAVELET_FILES = chain.from_iterable(
[
(Path("skued") / "baseline" / "data").glob("*.npy"),
(Path("skued") / "baseline" / "data").glob("*.npz"),
]
)

FF_FILES = chain.from_iterable([(Path("skued") / "baseline" / "data").glob("*.yaml")])

base_path = Path(__file__).parent
with open(base_path / BASE_PACKAGE / "__init__.py") as f:
module_content = f.read()
Expand Down Expand Up @@ -72,10 +63,6 @@
},
python_requires=">=3.6",
packages=PACKAGES,
data_files=[
(Path("skued") / "baseline" / "data", WAVELET_FILES),
(Path("skued") / "simulation" / "data", FF_FILES),
],
entry_points={"console_scripts": ["skued = skued.__main__:main"]},
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 236ff56

Please sign in to comment.