Skip to content

Commit c02bbe9

Browse files
committed
switch to using pdm
1 parent e97006f commit c02bbe9

18 files changed

+54
-43
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,8 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
132+
.ruff_cache
133+
.pdm-build
134+
.pdm-python

pyproject.toml

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["setuptools", "wheel"]
3-
build-backend = "setuptools.build_meta"
4-
51
[tool.pyright]
62
include = ["async_utils"]
73
exclude = [
@@ -90,4 +86,52 @@ convention = "numpy"
9086
"typing_extensions.TypeIs".msg = "TypeIs is fundamentally unsafe, even when using it as described to be safe"
9187
"typing_extensions.TypeGuard".msg = "TypeGuard is fundamentally unsafe"
9288
"typing.runtime_checkable".msg = "Runtime checkable is fundamentally unsafe."
93-
"typing_extensions.runtime_checkable".msg = "Runtime checkable is fundamentally unsafe."
89+
"typing_extensions.runtime_checkable".msg = "Runtime checkable is fundamentally unsafe."
90+
91+
[project]
92+
name = "async-utils"
93+
description = "Various async utilities"
94+
readme = "README.md"
95+
license = {text = "Apache-2.0"}
96+
requires-python = ">=3.12.0"
97+
authors = [
98+
{ name = "Michael Hall", email = "[email protected]" },
99+
]
100+
classifiers = [
101+
"Intended Audience :: Developers",
102+
"Operating System :: OS Independent",
103+
"Typing :: Typed",
104+
"Programming Language :: Python :: Implementation :: CPython",
105+
"Framework :: AsyncIO",
106+
"Intended Audience :: Developers",
107+
"Natural Language :: English",
108+
"Typing :: Typed",
109+
"Programming Language :: Python :: 3 :: Only",
110+
"Programming Language :: Python :: 3.12",
111+
"Programming Language :: Python :: 3.13",
112+
]
113+
114+
dynamic = ["version"]
115+
dependencies = []
116+
117+
[project.urls]
118+
Homepage = "https://github.com/mikeshardmind/async-utils"
119+
"Issue Tracker" = "https://github.com/mikeshardmind/async-utils/issues"
120+
"Source Code" = "https://github.com/mikeshardmind/async-utils"
121+
122+
[tool.pdm.version]
123+
source = "file"
124+
path = "src/async_utils/__init__.py"
125+
126+
[tool.pdm.build]
127+
excludes = ["./**/.git"]
128+
package-dir = "src"
129+
includes = ["src/async_utils"]
130+
source-includes = ["LICENSE", "NOTICE", "readme.md"]
131+
132+
[tool.pdm]
133+
distribution = true
134+
135+
[build-system]
136+
requires = ["pdm-backend"]
137+
build-backend = "pdm.backend"

setup.cfg

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

0 commit comments

Comments
 (0)