Skip to content

Commit 60646dc

Browse files
committed
Fix: Correct publishing workflow configuration
1 parent 7d056c0 commit 60646dc

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ jobs:
3030

3131
- name: Publish to GitHub Packages
3232
env:
33-
TWINE_USERNAME: ${{ github.actor }}
33+
TWINE_USERNAME: __token__
3434
TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
3535
run: |
3636
python -m twine upload \
37-
--repository-url https://maven.pkg.github.com/australmetrics/pascal-ndvi-block \
37+
--repository-url https://pypi.pkg.github.com/australmetrics/ \
38+
--username __token__ \
39+
--password ${{ secrets.GITHUB_TOKEN }} \
3840
dist/*
3941

pyproject.toml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ version = "1.0.2"
44
description = "High-performance NDVI/SAVI/NDRE with ISO 42001 compliance"
55
readme = "README.md"
66
authors = [
7-
{ name = "AustralMetrics SpA", email = "info@australmetrics.com" }
7+
{ name = "AustralMetrics SpA", email = "info@australmetrics.cl" }
88
]
99
license = { text = "MIT" }
1010
requires-python = ">=3.8"
11+
classifiers = [
12+
"Development Status :: 4 - Beta",
13+
"Intended Audience :: Developers",
14+
"License :: OSI Approved :: MIT License",
15+
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
]
1121

1222
dependencies = [
1323
"typer",
@@ -18,7 +28,18 @@ dependencies = [
1828
"numpy",
1929
]
2030

31+
[project.urls]
32+
Homepage = "https://github.com/australmetrics/pascal-ndvi-block"
33+
Repository = "https://github.com/australmetrics/pascal-ndvi-block.git"
34+
Issues = "https://github.com/australmetrics/pascal-ndvi-block/issues"
35+
2136
[build-system]
2237
requires = ["setuptools>=61.0", "wheel"]
2338
build-backend = "setuptools.build_meta"
2439

40+
[tool.setuptools.packages.find]
41+
where = ["src"]
42+
43+
[tool.setuptools.package-dir]
44+
"" = "src"
45+

0 commit comments

Comments
 (0)