-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
80 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Publish release to PyPI | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
pypi-publish: | ||
name: Build and upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: release | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- run: pip install build | ||
- run: python -m build | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,62 @@ | ||
[project] | ||
name = "signxml" | ||
description = "Python XML Signature and XAdES library" | ||
readme = "README.rst" | ||
requires-python = ">=3.8" | ||
license = { text = "Apache Software License" } | ||
authors = [{ name = "Andrey Kislyuk"}, {email = "[email protected]" }] | ||
authors = [{ name = "Andrey Kislyuk"}, {email = "[email protected]" }] | ||
dynamic = ["version"] | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: POSIX", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"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 :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Development Status :: 5 - Production/Stable", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"lxml >= 5.2.1, < 6", # Ubuntu 24.04 LTS | ||
"cryptography >= 43", # Required to support client certificate validation | ||
"certifi >= 2023.11.17", # Ubuntu 24.04 LTS | ||
# "tsp-client >= 0.1.3", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"ruff", | ||
"coverage", | ||
"build", | ||
"wheel", | ||
"mypy", | ||
"lxml-stubs", | ||
] | ||
|
||
[project.urls] | ||
"Homepage"= "https://github.com/kislyuk/signxml" | ||
"Documentation"= "https://xml-security.github.io/signxml/" | ||
"Source Code"= "https://github.com/kislyuk/signxml" | ||
"Issue Tracker"= "https://github.com/kislyuk/signxml/issues" | ||
"Change Log"= "https://github.com/kislyuk/signxml/blob/main/Changes.rst" | ||
|
||
[build-system] | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
|
||
[tool.black] | ||
line-length = 120 | ||
|
||
|