Skip to content

Commit

Permalink
Migrated packaging metadata to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm authored and Fuyukai committed Feb 24, 2024
1 parent 3f59db7 commit 382635a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 39 deletions.
34 changes: 34 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
[build-system]
requires = [
"setuptools >= 64",
"setuptools_scm >= 6.4"
]
build-backend = "setuptools.build_meta"

[project]
name = "sniffio"
description = "Sniff out which async library your code is running under"
readme = "README.rst"
authors = [{name = "Nathaniel J. Smith", email = "[email protected]"}]
license = {text = "MIT OR Apache-2.0"}
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",
]
requires-python = ">= 3.7"
dynamic = ["version"]

[tool.setuptools.dynamic]
version = {attr = "sniffio._version.__version__"}

[tool.towncrier]
package = "sniffio"
filename = "docs/source/history.rst"
Expand Down
39 changes: 0 additions & 39 deletions setup.py

This file was deleted.

0 comments on commit 382635a

Please sign in to comment.