-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Includes updates to CI to work with the new setup, and doc changes to describe how to install with the new layout.
- Loading branch information
Showing
15 changed files
with
120 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pystac/py.typed | ||
pystac/html/*.jinja2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ pip as follows: | |
|
||
.. code-block:: bash | ||
$ git clone [email protected]:your_user_name/pystac.git | ||
$ cd pystac | ||
$ pip install -e . | ||
git clone [email protected]:your_user_name/pystac.git | ||
cd pystac | ||
pip install -e '.[dev]' | ||
Testing | ||
^^^^^^^ | ||
|
@@ -90,11 +90,13 @@ PySTAC uses `asv <https://asv.readthedocs.io>`_ for benchmarking. Benchmarks are | |
defined in the ``./benchmarks`` directory. Due to the inherent uncertainty in | ||
the environment of Github workflow runners, benchmarks are not executed in CI. | ||
If your changes may affect performance, use the provided script to run the | ||
benchmark suite locally. This script will compare your current ``HEAD`` with | ||
the **main** branch and report any improvements or regressions. | ||
benchmark suite locally. You'll need to install the benchmark dependencies | ||
first. This script will compare your current ``HEAD`` with the **main** branch | ||
and report any improvements or regressions. | ||
|
||
.. code-block:: bash | ||
pip install -e '.[bench]' | ||
scripts/bench | ||
The benchmark suite takes a while to run, and will report any significant | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
[project] | ||
name = "pystac" | ||
description = "Python library for working with the SpatioTemporal Asset Catalog (STAC) specification" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Rob Emanuele", email = "[email protected]" }, | ||
{ name = "Jon Duckworth", email = "[email protected]" } | ||
] | ||
maintainers = [ | ||
{ name = "Pete Gadomski", email = "[email protected]" } | ||
] | ||
keywords = ["pystac", "imagery", "raster", "catalog", "STAC"] | ||
license = { text = "Apache-2.0" } | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"importlib-resources>=5.12.0; python_version<'3.9'", | ||
"python-dateutil>=2.7.0", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
bench = [ | ||
"asv~=0.5", | ||
"virtualenv~=20.22", | ||
] | ||
docs = [ | ||
"Sphinx~=5.1", | ||
"ipython~=8.12", | ||
"jinja2<4.0", | ||
"jupyter~=1.0", | ||
"nbsphinx~=0.9", | ||
"pydata-sphinx-theme~=0.13", | ||
"sphinx-autobuild==2021.3.14", | ||
"sphinx-design~=0.4", | ||
"sphinxcontrib-fulltoc~=1.2", | ||
] | ||
orjson = ["orjson>=3.5"] | ||
test = [ | ||
"black~=23.3", | ||
"codespell~=2.2", | ||
"coverage~=7.2", | ||
"doc8~=1.1", | ||
"html5lib~=1.1", | ||
"jinja2<4.0", | ||
"jsonschema~=4.17", | ||
"mypy~=1.2", | ||
"orjson~=3.8", | ||
"pre-commit~=3.2", | ||
"pytest-cov~=4.0", | ||
"pytest-mock~=3.10", | ||
"pytest-vcr~=1.0", | ||
"pytest~=7.3", | ||
"ruff==0.0.262", | ||
"types-html5lib~=1.1", | ||
"types-orjson~=3.6", | ||
"types-python-dateutil~=2.8", | ||
"types-urllib3~=1.26", | ||
] | ||
urllib3 = ["urllib3>=1.26"] | ||
validation = ["jsonschema>=4.0.1"] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/stac-utils/pystac" | ||
documentation = "https://pystac.readthedocs.io" | ||
repository = "https://github.com/stac-utils/pystac.git" | ||
changelog = "https://github.com/stac-utils/pystac/blob/main/CHANGELOG.md" | ||
discussions = "https://github.com/radiantearth/stac-spec/discussions/categories/stac-software" | ||
|
||
[tool.setuptools] | ||
packages = ["pystac"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "pystac.version.__version__" } | ||
|
||
[tool.pytest] | ||
filterwarnings = "error:::pystac[.*]" | ||
|
||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.