Skip to content

Commit c6f9a6b

Browse files
authored
Include typing information during packaging (#579)
* Include typing information during packaging * Update CHANGELOG for #579 * Fix `package_data`
1 parent 103a413 commit c6f9a6b

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [Unreleased]
44

55
### Added
6+
- Include type information during packaging for use with e.g. `mypy` ([#579](https://github.com/stac-utils/pystac/pull/579))
67
- Optional `dest_href` argument to `Catalog.save` to allow saving `Catalog` instances to
78
locations other than their `self` href ([#565](https://github.com/stac-utils/pystac/pull/565))
89

pystac/py.typed

Whitespace-only changes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
author_email="stac@radiant.earth",
2121
url="https://github.com/stac-utils/pystac",
2222
packages=find_packages(),
23+
package_data={"": ["py.typed"]},
2324
py_modules=[splitext(basename(path))[0] for path in glob("pystac/*.py")],
24-
include_package_data=False,
2525
python_requires=">=3.7",
2626
install_requires=[
2727
"python-dateutil>=2.7.0",

0 commit comments

Comments
 (0)