Skip to content

Commit 8691afa

Browse files
committed
debug publish.yml; migrate to pyproject.toml
1 parent 30ee8a6 commit 8691afa

File tree

3 files changed

+23
-55
lines changed

3 files changed

+23
-55
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
environment:
4343
name: pypi
44-
url: https://pypi.org/p/gmnspy # Replace <package-name> with your PyPI project name
44+
url: https://pypi.org/p/gmnspy
4545
permissions:
4646
id-token: write # IMPORTANT: mandatory for trusted publishing
4747

@@ -105,7 +105,7 @@ jobs:
105105

106106
environment:
107107
name: testpypi
108-
url: https://test.pypi.org/p/<package-name>
108+
url: https://test.pypi.org/p/gmnspy
109109

110110
permissions:
111111
id-token: write # IMPORTANT: mandatory for trusted publishing

pyproject.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "gmnspy"
7+
version = "0.3.0"
8+
license = {file = "LICENSE.txt"}
9+
readme = "README.md"
10+
dependencies = [
11+
"frictionless",
12+
"pandas>= 1.0"
13+
]
14+
classifiers = [
15+
"Development Status :: 3 - Alpha",
16+
]
17+
18+
[project.urls]
19+
"Source" = "https://github.com/e-lo/GMNSpy"
20+
"Homepage" = "https:e-lo.github.io/GMNSpy"
21+
122
[tool.black]
223
line-length = 120
324
target-version = ['py37', 'py38', 'py39', 'py310']

setup.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)