-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modernize with pyproject, use scm for version
- Loading branch information
1 parent
5491c76
commit 439764c
Showing
6 changed files
with
85 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
__version__ = '2.11.0dev' | ||
from importlib.metadata import version | ||
|
||
__version__ = version("planet") |
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,64 @@ | ||
[build-system] | ||
requires = ["setuptools>=64", "setuptools_scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "planet" | ||
authors = [ {name = "Planet", email = "python-sdk-contributors@planet.com"} ] | ||
description = "Planet SDK for Python" | ||
dependencies = [ | ||
"click>=8.0", | ||
"geojson", | ||
"httpx>=0.23.0", | ||
"jsonschema", | ||
"pyjwt>=2.1", | ||
"tqdm>=4.56", | ||
"typing-extensions", | ||
] | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
keywords = ["planet", "api", "sdk", "client"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Software Development", | ||
"Topic :: Utilities", | ||
] | ||
license = {file = "LICENSE"} | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"anyio", | ||
"pytest-cov", | ||
"respx>=0.20", | ||
] | ||
lint = [ | ||
"flake8", | ||
"mypy", | ||
"yapf", | ||
] | ||
docs = [ | ||
"mkdocs==1.3", | ||
"mkdocs-click==0.7.0", | ||
"mkdocs-material==8.2.11", | ||
"mkdocstrings==0.18.1", | ||
"mkdocs_autorefs==1.0.1", | ||
] | ||
dev = [ | ||
"planet[test, docs, lint]", | ||
] | ||
|
||
[project.scripts] | ||
planet = "planet.cli.cli:main" | ||
|
||
[project.urls] | ||
Repository = "https://github.com/planetlabs/planet-client-python" | ||
|
||
[tool.setuptools_scm] |
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