Skip to content

Commit

Permalink
Merge pull request #134 from AllSpiceIO/su/pyproject
Browse files Browse the repository at this point in the history
Replace setup.py with pyproject metadata
  • Loading branch information
shrik450 authored Jun 6, 2024
2 parents 5dde72b + bbae83d commit 6211b5c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 49 deletions.
20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
[project]
name = "py-allspice"
authors = [{ name = "AllSpice, Inc.", email = "[email protected]" }]
description = "A python wrapper for the AllSpice Hub API"
readme = "README.md"
license = { text = "MIT" }
keywords = ["AllSpice", "AllSpice Hub", "api", "wrapper"]
urls = { Homepage = "https://github.com/AllSpiceIO/py-allspice" }
dynamic = ["dependencies", "optional-dependencies", "version"]
requires-python = ">=3.10"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
optional-dependencies = { test = { file = ["requirements-test.txt"] } }
version = { attr = "allspice.__version__" }

[tool.ruff]
lint.ignore = [
"E501", # Line length.
Expand Down
49 changes: 0 additions & 49 deletions setup.py

This file was deleted.

0 comments on commit 6211b5c

Please sign in to comment.