Skip to content

Commit 6cbdd88

Browse files
exclude tests from package distribution (#604)
* exclude tests from package distribution * update changelog
1 parent 74e1482 commit 6cbdd88

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
### Removed
88

9+
- Exclude `tests` from package distribution. This should make the package lighter ([#604](https://github.com/stac-utils/pystac/pull/604))
10+
911
### Changed
1012

1113
- Enable [strict

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
author="stac-utils",
2020
author_email="[email protected]",
2121
url="https://github.com/stac-utils/pystac",
22-
packages=find_packages(),
22+
packages=find_packages(exclude=["tests*"]),
2323
package_data={"": ["py.typed"]},
2424
py_modules=[splitext(basename(path))[0] for path in glob("pystac/*.py")],
2525
python_requires=">=3.7",

0 commit comments

Comments
 (0)