-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated the metadata from
setup.cfg
into PEP 621
-compliant `pypr…
…oject.toml`.
Showing
3 changed files
with
39 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Moved the metadata into ``PEP 621``-compliant ``pyproject.toml``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,44 @@ | ||
[build-system] | ||
requires = ["setuptools>=42.2", "setuptools_scm[toml]>=3.4.3"] | ||
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "sniffio" | ||
authors = [{name = "Nathaniel J. Smith", email = "[email protected]"}] | ||
license = {text = "MIT OR Apache-2.0"} | ||
description = "Sniff out which async library your code is running under" | ||
readme = "README.rst" | ||
keywords = ["async", "trio", "asyncio"] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Framework :: Trio", | ||
"Framework :: AsyncIO", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Intended Audience :: Developers", | ||
"Development Status :: 5 - Production/Stable", | ||
] | ||
urls = {Homepage = "https://github.com/python-trio/sniffio"} | ||
requires-python = ">=3.7" | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
testing = ["curio"] | ||
|
||
[tool.setuptools] | ||
include-package-data = false | ||
|
||
[tool.setuptools.packages] | ||
find = {namespaces = false} | ||
|
||
[tool.setuptools.package-data] | ||
sniffio = ["py.typed"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "sniffio/_version.py" | ||
write_to_template = "__version__ = \"{version}\"\n" | ||
|