Skip to content

Commit 167f665

Browse files
committed
change build backend to flit
1 parent c147499 commit 167f665

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "function-schema"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
requires-python = ">= 3.9"
55
description = "A small utility to generate JSON schemas for python functions."
66
readme = "README.md"
@@ -16,10 +16,9 @@ classifiers = [
1616
"Development Status :: 3 - Alpha",
1717
"Programming Language :: Python :: 3.9",
1818
]
19-
dynamic = ["optional-dependencies"]
2019

21-
[tool.setuptools.dynamic]
22-
optional-dependencies.test = {file = ["pytest"]}
20+
[project.optional-dependencies]
21+
test = ["pytest"]
2322

2423
[project.urls]
2524
Homepage = "https://github.com/comfuture/function-schema"
@@ -29,5 +28,5 @@ Repository = "https://github.com/comfuture/function-schema"
2928
function_schema = "function_schema.cli:main"
3029

3130
[build-system]
32-
requires = ["setuptools", "wheel"]
33-
build-backend = "setuptools.build_meta"
31+
requires = ["flit_core >=3.9,<4"]
32+
build-backend = "flit_core.buildapi"

0 commit comments

Comments
 (0)