Skip to content

Commit

Permalink
Ft: build system now uses pyproject.toml via setuptools, remove 3.6 s…
Browse files Browse the repository at this point in the history
…upport add 3.12 support
  • Loading branch information
clemens-fricke committed Nov 16, 2023
1 parent 6dae077 commit d8fe461
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ authors = [
{name = "Jaewool Lee", email = "[email protected]"}
]
description = "Process and visualize numerical-analysis-geometries."
version="0.0.2"
# fastapi uses hatling as build backend and it can use dynamic versioning
# poetry needs static versioning (version defined in pyproject.toml)
# setuptools (package itself) still uses the setup.py files, but as build
# system supports dynamic versioning
readme = "README.md"
keywords = [
"numerical-analysis",
"geometry",
Expand All @@ -22,7 +20,6 @@ classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -34,16 +31,16 @@ classifiers = [
dependencies = [
"numpy",
]
dynamic = ["version", "readme"]

[project.optional-dependencies]
all = [
"vedo>=2023.4.3",
"vedo>=2023.4.3,<2023.5.0",
"scipy",
"meshio",
"napf>=0.0.5",
"funi>=0.0.1",
"requests; python_version < '3.7'",
"dataclasses; python_version < '3.7'",
"requests"
]
test = [
"pytest",
Expand All @@ -65,6 +62,9 @@ packages = [
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
version = {attr = "gustaf._version.version"}
readme = {file = "README.md"}

[tool.ruff]
line-length = 79
Expand Down

0 comments on commit d8fe461

Please sign in to comment.