Skip to content

Commit

Permalink
Merge pull request #76 from msabramo/update-gh-action-python-versions
Browse files Browse the repository at this point in the history
This patch migrates packaging to use PEP 621 metadata declaration and `setuptools-scm` instead of pbr.
  • Loading branch information
webknjaz authored Jan 8, 2025
2 parents 9b3494d + 1ffca8e commit 5a196ff
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 41 deletions.
3 changes: 3 additions & 0 deletions .git_archival.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git_archival.txt export-subst
49 changes: 47 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,51 @@
[build-system]
requires = [
"pbr >= 6",
"setuptools >= 64",
"setuptools_scm >= 8",
]
build-backend = "pbr.build"
build-backend = "setuptools.build_meta"

[project]
name = "requests-unixsocket"
description = "Use requests to talk HTTP via a UNIX domain socket"
requires-python = ">= 3.9"
dependencies = [
"requests >= 1.1",
]
classifiers = [
"Development Status :: 3 - Alpha",

"Intended Audience :: Developers",
"Intended Audience :: Information Technology",

"Operating System :: OS Independent",

"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: Jython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = [
"version",
]

[[project.authors]]
name = "Marc Abramowitz"
email = "[email protected]"

[project.readme]
file = "README.rst"
content-type = "text/x-rst"

[project.urls]
Homepage = "https://github.com/msabramo/requests-unixsocket"

[tool.setuptools_scm]
30 changes: 0 additions & 30 deletions setup.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions setup.py

This file was deleted.

0 comments on commit 5a196ff

Please sign in to comment.