Skip to content

Commit d53b523

Browse files
committed
Version 4.4.2
1 parent 445640d commit d53b523

4 files changed

Lines changed: 21 additions & 17 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PyPi Release
1+
name: PyPI Release
22

33
on:
44
push:
@@ -8,25 +8,29 @@ on:
88

99
jobs:
1010
build:
11+
name: Build package
1112
runs-on: ubuntu-latest
12-
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.10"
1818

19-
- name: Install build backend
19+
- name: Install build backend and twine
2020
run: python -m pip install --upgrade build twine
21-
21+
2222
- name: Clean old builds
2323
run: rm -rf dist build *.egg-info
2424

2525
- name: Build sdist/wheel
2626
run: python -m build
27+
28+
- name: Check distribution metadata
29+
run: twine check dist/*
2730

2831
- name: Upload to PyPI
2932
env:
3033
TWINE_USERNAME: __token__
3134
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3235
run: twine upload dist/*
36+

.github/workflows/test_routine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
conda --version
2727
which python
28-
python -m pip install . --user
28+
python -m pip install .
2929
3030
- name: Run tests
3131
run: |

pyproject.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61", "wheel"]
2+
requires = ["setuptools>=77", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -12,16 +12,19 @@ authors = [
1212
{ name = "Jan Schmidt" }
1313
]
1414
readme = "README.md"
15-
requires-python = ">=3"
1615
license = "GPL-3.0-only"
16+
license-files = [ "LICENSE" ]
17+
requires-python = ">=3.9"
1718
classifiers = [
1819
"Development Status :: 4 - Beta",
1920
"Intended Audience :: Science/Research",
2021
"Natural Language :: English",
22+
"Programming Language :: Python :: 3.9",
2123
"Programming Language :: Python :: 3.10",
2224
"Programming Language :: Python :: 3.11",
2325
"Programming Language :: Python :: 3.12",
24-
"Programming Language :: Python :: 3.13"
26+
"Programming Language :: Python :: 3.13",
27+
"Topic :: Scientific/Engineering :: Physics",
2528
]
2629
dependencies = [
2730
"numpy",
@@ -32,11 +35,14 @@ dependencies = [
3235
]
3336

3437
[project.optional-dependencies]
35-
test = ["pytest>=3"]
3638
dev = ["pytest-runner", "black", "build", "twine"]
3739

38-
[tool.setuptools]
39-
packages = ["pylabfea"]
40+
[tool.setuptools.packages.find]
41+
where = ["src"]
4042

4143
[tool.setuptools.package-dir]
4244
"" = "src"
45+
46+
[project.urls]
47+
Homepage = "https://github.com/AHartmaier/pyLabFEA"
48+

setup.py

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

0 commit comments

Comments
 (0)