Skip to content

Commit

Permalink
Convert setup.py to pyproject.toml and delete setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Nov 6, 2024
1 parent 6785c2d commit 9e9d941
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 41 deletions.
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "xcdat"
version = "0.7.3"
description = "Xarray Climate Data Analysis Tools"
readme = "README.rst"
requires-python = ">=3.9"
license = { text = "Apache-2.0" }
authors = [{ name = "xCDAT developers" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache-2.0 License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["xcdat"]
dependencies = []

[project.optional-dependencies]
test = ["pytest>=3"]

[tool.setuptools.packages.find]
include = ["xcdat", "xcdat.*"]

[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
Expand Down
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

0 comments on commit 9e9d941

Please sign in to comment.