added pypi publish functionality #2

Merged
brian merged 1 commits from add-publish-to-pypi-ci-step into main 2026-01-08 13:52:52 +01:00
2 changed files with 15 additions and 0 deletions
Showing only changes of commit 736e51dc14 - Show all commits
+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"