From 7af402d607406a09dc10d815f5550b1a72c636f7 Mon Sep 17 00:00:00 2001 From: Vincent Sarago Date: Thu, 12 Aug 2021 23:00:20 +0200 Subject: [PATCH 1/2] exclude tests from package distribution --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5e17a8c99..fcf910e5a 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ author="stac-utils", author_email="stac@radiant.earth", url="https://github.com/stac-utils/pystac", - packages=find_packages(), + packages=find_packages(exclude=["tests*"]), package_data={"": ["py.typed"]}, py_modules=[splitext(basename(path))[0] for path in glob("pystac/*.py")], python_requires=">=3.7", From 8450eb6fdd5cccc389296e85208372d96313613f Mon Sep 17 00:00:00 2001 From: Vincent Sarago Date: Sat, 14 Aug 2021 22:22:05 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cac1043c..7d43cfcc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ### Removed +- Exclude `tests` from package distribution. This should make the package lighter ([#604](https://github.com/stac-utils/pystac/pull/604)) + ### Changed - Enable [strict