Skip to content

Commit

Permalink
Migrate away from setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Sep 4, 2024
1 parent 4c41dd2 commit 27b6531
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 66 deletions.
49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
name = "snkit"
dynamic = ["version"]
description = "a spatial networks toolkit"
readme = "README.md"
license = "MIT"
authors = [{ name = "Tom Russell", email = "[email protected]" }]
keywords = []
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Utilities",
]
dependencies = ["geopandas>=1.0", "numpy", "pandas", "shapely>=2.0"]

[project.optional-dependencies]
dev = [
"black",
"mypy",
"nbstripout",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
]
docs = ["myst-parser", "sphinx"]
networkx = ["networkx>=3.0"]

[project.urls]
Homepage = "https://snkit.readthedocs.io/en/latest/"
Source = "https://github.com/tomalrussell/snkit"

[tool.hatch.version]
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "src/snkit/_version.py"

[tool.hatch.build.targets.sdist]
include = ["/src"]

[tool.pytest.ini_options]
pythonpath = ["src"]

Expand Down
66 changes: 0 additions & 66 deletions setup.py

This file was deleted.

0 comments on commit 27b6531

Please sign in to comment.