Skip to content

Commit 5a196ff

Browse files
authored
Merge pull request #76 from msabramo/update-gh-action-python-versions
This patch migrates packaging to use PEP 621 metadata declaration and `setuptools-scm` instead of pbr.
2 parents 9b3494d + 1ffca8e commit 5a196ff

File tree

5 files changed

+51
-41
lines changed

5 files changed

+51
-41
lines changed

.git_archival.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git_archival.txt export-subst

pyproject.toml

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,51 @@
11
[build-system]
22
requires = [
3-
"pbr >= 6",
43
"setuptools >= 64",
4+
"setuptools_scm >= 8",
55
]
6-
build-backend = "pbr.build"
6+
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "requests-unixsocket"
10+
description = "Use requests to talk HTTP via a UNIX domain socket"
11+
requires-python = ">= 3.9"
12+
dependencies = [
13+
"requests >= 1.1",
14+
]
15+
classifiers = [
16+
"Development Status :: 3 - Alpha",
17+
18+
"Intended Audience :: Developers",
19+
"Intended Audience :: Information Technology",
20+
21+
"Operating System :: OS Independent",
22+
23+
"Programming Language :: Python",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3 :: Only",
26+
"Programming Language :: Python :: 3.9",
27+
"Programming Language :: Python :: 3.10",
28+
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: Implementation",
32+
"Programming Language :: Python :: Implementation :: CPython",
33+
"Programming Language :: Python :: Implementation :: Jython",
34+
"Programming Language :: Python :: Implementation :: PyPy",
35+
]
36+
dynamic = [
37+
"version",
38+
]
39+
40+
[[project.authors]]
41+
name = "Marc Abramowitz"
42+
43+
44+
[project.readme]
45+
file = "README.rst"
46+
content-type = "text/x-rst"
47+
48+
[project.urls]
49+
Homepage = "https://github.com/msabramo/requests-unixsocket"
50+
51+
[tool.setuptools_scm]

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)