Skip to content

Commit 8718070

Browse files
msabramowebknjaz
andcommitted
📦 Migrate from pbr to setuptools-scm
This patch additionally enables support for `git archive`s [[1]]. [1]: https://setuptools-scm.readthedocs.io/en/latest/usage/#git-archives Co-Authored-By: Sviatoslav Sydorenko <[email protected]>
1 parent 9b3494d commit 8718070

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
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+
[tool.setuptools_scm]

setup.cfg

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
name = requests-unixsocket
33
author = Marc Abramowitz
44
author_email = [email protected]
5-
summary = Use requests to talk HTTP via a UNIX domain socket
6-
description_file = README.rst
5+
description = Use requests to talk HTTP via a UNIX domain socket
6+
long_description = file: README.rst
77
license = Apache-2
8-
home_page = https://github.com/msabramo/requests-unixsocket
9-
# home_page = https://requests-unixsocket.readthedocs.org/
10-
classifier =
8+
url = https://github.com/msabramo/requests-unixsocket
9+
classifiers =
1110
Development Status :: 3 - Alpha
1211
Intended Audience :: Developers
1312
Intended Audience :: Information Technology
@@ -20,7 +19,6 @@ classifier =
2019
Programming Language :: Python :: 3.11
2120
Programming Language :: Python :: 3.12
2221
Programming Language :: Python :: 3.13
23-
test_suite = requests_unixsocket.tests
2422
python_requires = >= 3.9
2523

2624
[files]

0 commit comments

Comments
 (0)