Skip to content

Commit

Permalink
replaced setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed May 5, 2023
1 parent c76261c commit aaecf83
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 50 deletions.
3 changes: 2 additions & 1 deletion docs/spatialist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Raster Tools
------------

.. automodule:: spatialist.raster
:members: apply_along_time, png, rasterize, stack, subset_tolerance
:members: apply_along_time, png, rasterize, stack, subset_tolerance, Dtype
:undoc-members:

.. autosummary::
Expand All @@ -22,6 +22,7 @@ Raster Tools
rasterize
stack
subset_tolerance
Dtype

Vector Class
------------
Expand Down
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]

[project]
name = "spatialist"
description = "a Python module for spatial data handling"
requires-python = ">=3.0"
license = { file = "LICENSE.txt" }
maintainers = [
{ name = "John Truckenbrodt", email = "[email protected]" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3"
]
dynamic = ["version", "readme", "dependencies"]

[project.urls]
repository = "https://github.com/johntruckenbrodt/pyroSAR"
documentation = "https://pyrosar.readthedocs.io/en/latest/"

[project.optional-dependencies]
test = ["pytest"]
docs = ["sphinx", "sphinxcontrib-bibtex<2.0.0"]

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
readme = { file = ["README.md"] }

[tool.setuptools_scm]
13 changes: 0 additions & 13 deletions requirements-dev.txt

This file was deleted.

2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

34 changes: 0 additions & 34 deletions setup.py

This file was deleted.

0 comments on commit aaecf83

Please sign in to comment.