Skip to content

Commit

Permalink
gh-40: Replace setup.cfg with pyproject.toml (#41)
Browse files Browse the repository at this point in the history
Replaces the old setup.cfg file with an equivalent pyproject.toml file.

Closes: #40
  • Loading branch information
ntessore authored Apr 15, 2024
1 parent a13d3c1 commit 1e3ea74
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 31 deletions.
36 changes: 35 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
[build-system]
requires = ["setuptools", "wheel", "oldest-supported-numpy"]

build-backend = "setuptools.build_meta"

[project]
name = "healpix"
description = "Python package for HEALPix discretisation of the sphere"
readme = "README.md"
license = {text = "BSD-3-Clause"}
maintainers = [
{name = "Nicolas Tessore", email = "[email protected]"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
requires-python = ">=3.6"
dependencies = [
"numpy",
]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/ntessore/healpix"

[project.optional-dependencies]
test = [
"pytest",
]

[tool.setuptools]
package-dir = {"" = "python"}
packages = ["healpix", "healpix.test"]
include-package-data = false

[tool.setuptools.dynamic.version]
attr = "healpix.__version__"
30 changes: 0 additions & 30 deletions setup.cfg

This file was deleted.

0 comments on commit 1e3ea74

Please sign in to comment.