Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit e41779d

Browse files
authored
Specify the README, verify wheels, add py39. (#8)
1 parent ff7aa6a commit e41779d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,16 @@ jobs:
9292
- uses: actions/setup-python@v5
9393

9494
- name: Install cibuildwheel
95-
run: python -m pip install cibuildwheel==2.18.1
95+
run: python -m pip install cibuildwheel==2.18.1 twine
9696

9797
- name: Build wheels
9898
run: python -m cibuildwheel --output-dir dist
9999
env:
100100
CIBW_TEST_COMMAND: "pytest {project}/tests"
101101

102+
- name: Verify wheels
103+
run: python -m twine check dist/*
104+
102105
- uses: actions/upload-artifact@v4
103106
with:
104107
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[project]
22
name = "brain-indexer"
33
description = "A spatial index implementation for spheres, morphologies and synapses"
4+
readme = "README.md"
45
authors = [{ name="Blue Brain Project", email = "bbp-ou-hpc@epfl.ch" } ]
56
license = {"file" = "LICENSE.txt"}
67
# maintainer is the field chosen for docs `contributors`
@@ -17,7 +18,7 @@ classifiers = [
1718
"Topic :: Scientific/Engineering",
1819
"License :: Other/Proprietary License",
1920
]
20-
requires-python = ">=3.8"
21+
requires-python = ">=3.9"
2122
dependencies = ["numpy>=1.13.1",
2223
"numpy-quaternion",
2324
# The reason we can"t use 0.1.15 is that it wont
@@ -68,7 +69,7 @@ SI_UNIT_TESTS="OFF"
6869
[tool.setuptools_scm]
6970

7071
[tool.cibuildwheel]
71-
skip = ["cp3{6,7,8,9}-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_i686", "*-musllinux_x86_64", "*-musllinux_aarch64"]
72+
skip = ["cp3{6,7,8}-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_i686", "*-musllinux_x86_64", "*-musllinux_aarch64"]
7273
test-requires = ["pytest", "pytest-mpi"]
7374
test-command = ["python -m pytest {project}/tests"]
7475

0 commit comments

Comments
 (0)