added pypi publish functionality
Python Code Quality / python-code-quality (pull_request) Successful in 11s
Python Test / python-test (pull_request) Successful in 12s

This commit is contained in:
Brian Bjarke Jensen
2026-01-08 13:43:21 +01:00
parent c36f057138
commit 736e51dc14
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -33,3 +33,9 @@ jobs:
UV_PUBLISH_URL: ${{ vars.REPOSITORY_URL }} UV_PUBLISH_URL: ${{ vars.REPOSITORY_URL }}
run: | run: |
uv publish uv publish
- name: Publish to PyPI
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
uv publish --repository pypi
+9
View File
@@ -7,10 +7,19 @@ authors = [
] ]
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "MIT"
license-files = ["LICENSE"]
dependencies = [ dependencies = [
"cryptography>=46.0.3", "cryptography>=46.0.3",
] ]
[project.urls]
source = "https://gitea.gt-proj.com/brian/python-encrypt-code"
[project.scripts] [project.scripts]
python-encrypt-code = "python_encrypt_code.__main__:main" python-encrypt-code = "python_encrypt_code.__main__:main"