Skip to content

Commit 382635a

Browse files
agronholmFuyukai
authored andcommitted
Migrated packaging metadata to pyproject.toml
1 parent 3f59db7 commit 382635a

2 files changed

Lines changed: 34 additions & 39 deletions

File tree

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
[build-system]
2+
requires = [
3+
"setuptools >= 64",
4+
"setuptools_scm >= 6.4"
5+
]
6+
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "sniffio"
10+
description = "Sniff out which async library your code is running under"
11+
readme = "README.rst"
12+
authors = [{name = "Nathaniel J. Smith", email = "njs@pobox.com"}]
13+
license = {text = "MIT OR Apache-2.0"}
14+
keywords = ["async", "trio", "asyncio"]
15+
classifiers = [
16+
"License :: OSI Approved :: MIT License",
17+
"License :: OSI Approved :: Apache Software License",
18+
"Framework :: Trio",
19+
"Framework :: AsyncIO",
20+
"Operating System :: POSIX :: Linux",
21+
"Operating System :: MacOS :: MacOS X",
22+
"Operating System :: Microsoft :: Windows",
23+
"Programming Language :: Python :: 3 :: Only",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
26+
"Intended Audience :: Developers",
27+
"Development Status :: 5 - Production/Stable",
28+
]
29+
requires-python = ">= 3.7"
30+
dynamic = ["version"]
31+
32+
[tool.setuptools.dynamic]
33+
version = {attr = "sniffio._version.__version__"}
34+
135
[tool.towncrier]
236
package = "sniffio"
337
filename = "docs/source/history.rst"

setup.py

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

0 commit comments

Comments
 (0)