Skip to content

Commit e2c7527

Browse files
committed
build: migrate to pyproject.toml
The new way to package is to use the pyproject.toml file.
1 parent 45866a2 commit e2c7527

File tree

2 files changed

+35
-43
lines changed

2 files changed

+35
-43
lines changed

pyproject.toml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
1+
[project]
2+
name = "apispec-fromfile"
3+
version = "1.0.3"
4+
authors = [
5+
{ name = "OVHcloud", email = "opensource@ovhcloud.com" },
6+
]
7+
description = "APISpec plugin to import OpenAPI specifications from a file instead of putting YAML into docstrings"
8+
readme = { "file" = "README.md", content-type = "text/markdown" }
9+
license = "Apache-2.0"
10+
license-files = ["LICENSE", "AUTHORS", "CONTRIBUTORS", "MAINTAINERS"]
11+
requires-python = ">=3.10"
12+
dependencies = [
13+
"apispec[yaml]>=6.9.0",
14+
]
15+
keywords = ["openapi", "apispec"]
16+
classifiers = [
17+
"Environment :: Plugins",
18+
"Environment :: Web Environment",
19+
"Intended Audience :: Developers",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
27+
"Topic :: Documentation",
28+
"Topic :: Internet :: WWW/HTTP",
29+
"Topic :: Software Development :: Libraries :: Python Modules",
30+
]
31+
32+
[project.urls]
33+
Repository = "https://github.com/ovh/python-apispec-fromfile"
34+
135
[build-system]
2-
requires = ["setuptools>=40.8.0", "wheel"]
36+
requires = ["setuptools>=77.0.3"]
337
build-backend = "setuptools.build_meta"
438

539
[tool.ruff]

setup.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)