Skip to content

Commit

Permalink
PEP621 install pyproject.toml only
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Dec 1, 2022
1 parent ff5e0b1 commit 6a84466
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 68 deletions.
31 changes: 30 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pymap3d"
description = "pure Python (no prereqs) coordinate conversions, following convention of several popular Matlab routines."
keywords = ["coordinate-conversion", "geodesy"]
classifiers = ["Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS"
]
requires-python = ">=3.7"
dynamic = ["version", "readme"]

[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
version = {attr = "pymap3d.__version__"}

[project.optional-dependencies]
tests = ["pytest", "pytest-timeout"]
lint = ["flake8", "flake8-bugbear", "flake8-builtins", "flake8-blind-except", "mypy",
"types-python-dateutil", "types-requests"]
coverage = ["pytest-cov"]
format = ["black[jupyter]", "isort"]
core = ["python-dateutil", "numpy >= 1.10.0"]
full = ["astropy", "xarray"]
proj = ["pyproj"]

[tool.black]
line-length = 100

Expand Down
58 changes: 0 additions & 58 deletions setup.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions setup.py

This file was deleted.

0 comments on commit 6a84466

Please sign in to comment.