Skip to content

Commit d299cda

Browse files
Merge pull request #7 from labscript-suite/pyproject-only
Move cython extension info into pyproject.toml, delete setup.py
2 parents 67cec02 + d0c5ca4 commit d299cda

File tree

3 files changed

+5
-21
lines changed

3 files changed

+5
-21
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Configure workflow
5151
id: config
5252
run: |
53-
pip install ci-helper cython
53+
pip install ci-helper
5454
5555
# Load repo-specific variables and overrides:
5656
VARS_FILE=".github/workflows/release-vars.sh"

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=64", "setuptools_scm>=8", "cython",
2+
requires = ["setuptools>=74.1.0", "setuptools_scm>=8", "cython",
33
"numpy>=2.0,<3; python_version>'3.8'"]
44
build-backend = "setuptools.build_meta"
55

@@ -10,6 +10,9 @@ local_scheme = "no-local-version"
1010
[tool.setuptools]
1111
zip-safe = false
1212
include-package-data = true
13+
ext-modules = [
14+
{name = "labscript_c_extensions.runviewer.resample", sources = ["src/runviewer/resample.pyx"]}
15+
]
1316

1417
[tool.setuptools.packages]
1518
find = {namespaces = false}

setup.py

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

0 commit comments

Comments
 (0)