labscript-c-extensions 1.1.0__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/.github/workflows/release.yml +42 -39
- {labscript-c-extensions-1.1.0/labscript_c_extensions.egg-info → labscript_c_extensions-1.2.0}/PKG-INFO +39 -13
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions/__version__.py +14 -8
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0/labscript_c_extensions.egg-info}/PKG-INFO +39 -13
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/SOURCES.txt +1 -2
- labscript_c_extensions-1.2.0/labscript_c_extensions.egg-info/requires.txt +2 -0
- labscript_c_extensions-1.2.0/pyproject.toml +51 -0
- labscript_c_extensions-1.2.0/setup.cfg +4 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/setup.py +0 -8
- labscript-c-extensions-1.1.0/labscript_c_extensions.egg-info/requires.txt +0 -3
- labscript-c-extensions-1.1.0/pyproject.toml +0 -3
- labscript-c-extensions-1.1.0/setup.cfg +0 -38
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/.gitignore +0 -0
- /labscript-c-extensions-1.1.0/LICENSE → /labscript_c_extensions-1.2.0/LICENSE.txt +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/README.md +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions/__init__.py +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions/runviewer/__init__.py +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/dependency_links.txt +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/not-zip-safe +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/top_level.txt +0 -0
- {labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/src/runviewer/resample.pyx +0 -0
|
@@ -10,8 +10,7 @@ on:
|
|
|
10
10
|
- 'v[0-9]+.[0-9]+.[0-9]+*'
|
|
11
11
|
|
|
12
12
|
env:
|
|
13
|
-
PACKAGE_NAME:
|
|
14
|
-
SCM_LOCAL_SCHEME: no-local-version
|
|
13
|
+
PACKAGE_NAME: labscript_c_extensions
|
|
15
14
|
ANACONDA_USER: labscript-suite
|
|
16
15
|
|
|
17
16
|
# Configuration for a package with compiled extensions:
|
|
@@ -35,36 +34,42 @@ jobs:
|
|
|
35
34
|
name: Build
|
|
36
35
|
runs-on: ${{ matrix.os }}
|
|
37
36
|
strategy:
|
|
37
|
+
fail-fast: false
|
|
38
38
|
matrix:
|
|
39
39
|
include:
|
|
40
|
+
- { os: ubuntu-latest, python: '3.12', arch: x64, conda: true}
|
|
40
41
|
- { os: ubuntu-latest, python: '3.11', arch: x64, conda: true}
|
|
41
42
|
- { os: ubuntu-latest, python: '3.10', arch: x64, conda: true }
|
|
42
43
|
- { os: ubuntu-latest, python: '3.9', arch: x64, conda: true }
|
|
43
44
|
- { os: ubuntu-latest, python: '3.8', arch: x64, conda: true }
|
|
44
|
-
- { os: ubuntu-latest, python: '3.7', arch: x64, conda: true }
|
|
45
45
|
|
|
46
|
-
- { os: macos-
|
|
47
|
-
- { os: macos-
|
|
48
|
-
- { os: macos-
|
|
49
|
-
- { os: macos-
|
|
50
|
-
- { os: macos-
|
|
46
|
+
- { os: macos-13, python: '3.12', arch: x64, conda: true }
|
|
47
|
+
- { os: macos-13, python: '3.11', arch: x64, conda: true }
|
|
48
|
+
- { os: macos-13, python: '3.10', arch: x64, conda: true }
|
|
49
|
+
- { os: macos-13, python: '3.9', arch: x64, conda: true }
|
|
50
|
+
- { os: macos-13, python: '3.8', arch: x64, conda: true }
|
|
51
51
|
|
|
52
|
+
- { os: macos-latest, python: '3.12', arch: arm64, conda: true }
|
|
53
|
+
- { os: macos-latest, python: '3.11', arch: arm64, conda: true }
|
|
54
|
+
- { os: macos-latest, python: '3.10', arch: arm64, conda: true }
|
|
55
|
+
- { os: macos-latest, python: '3.9', arch: arm64, conda: true }
|
|
56
|
+
|
|
57
|
+
- { os: windows-latest, python: '3.12', arch: x64, conda: true }
|
|
52
58
|
- { os: windows-latest, python: '3.11', arch: x64, conda: true }
|
|
53
59
|
- { os: windows-latest, python: '3.10', arch: x64, conda: true }
|
|
54
60
|
- { os: windows-latest, python: '3.9', arch: x64, conda: true }
|
|
55
61
|
- { os: windows-latest, python: '3.8', arch: x64, conda: true }
|
|
56
|
-
- { os: windows-latest, python: '3.7', arch: x64, conda: true }
|
|
57
62
|
|
|
63
|
+
- { os: windows-latest, python: '3.12', arch: x86, conda: false } # conda not yet available
|
|
58
64
|
- { os: windows-latest, python: '3.11', arch: x86, conda: false } # conda not yet available
|
|
59
|
-
- { os: windows-latest, python: '3.10', arch: x86, conda:
|
|
60
|
-
- { os: windows-latest, python: '3.9', arch: x86, conda:
|
|
61
|
-
- { os: windows-latest, python: '3.8', arch: x86, conda:
|
|
62
|
-
- { os: windows-latest, python: '3.7', arch: x86, conda: true }
|
|
65
|
+
- { os: windows-latest, python: '3.10', arch: x86, conda: false } # setuptools/setuptools-scm deps not met
|
|
66
|
+
- { os: windows-latest, python: '3.9', arch: x86, conda: false } # setuptools/setuptools-scm deps not met
|
|
67
|
+
- { os: windows-latest, python: '3.8', arch: x86, conda: false } # setuptools/setuptools-scm deps not met
|
|
63
68
|
|
|
64
69
|
if: github.repository == 'labscript-suite/labscript-c-extensions' && (github.event_name != 'create' || github.event.ref_type != 'branch')
|
|
65
70
|
steps:
|
|
66
71
|
- name: Checkout
|
|
67
|
-
uses: actions/checkout@
|
|
72
|
+
uses: actions/checkout@v4
|
|
68
73
|
with:
|
|
69
74
|
fetch-depth: 0
|
|
70
75
|
|
|
@@ -73,7 +78,7 @@ jobs:
|
|
|
73
78
|
run: git tag -d $(git tag --points-at HEAD)
|
|
74
79
|
|
|
75
80
|
- name: Install Python
|
|
76
|
-
uses: actions/setup-python@
|
|
81
|
+
uses: actions/setup-python@v5
|
|
77
82
|
with:
|
|
78
83
|
python-version: ${{ matrix.python }}
|
|
79
84
|
architecture: ${{ matrix.arch }}
|
|
@@ -93,37 +98,33 @@ jobs:
|
|
|
93
98
|
|
|
94
99
|
- name: Upload Artifact
|
|
95
100
|
if: strategy.job-index == 0 || (env.PURE == 'false' && runner.os != 'Linux')
|
|
96
|
-
uses: actions/upload-artifact@
|
|
101
|
+
uses: actions/upload-artifact@v4
|
|
97
102
|
with:
|
|
98
|
-
name: dist
|
|
103
|
+
name: dist-${{ matrix.os }}_${{ matrix.arch }}-py${{ matrix.python}}
|
|
99
104
|
path: ./dist
|
|
100
105
|
|
|
101
106
|
- name: Set Variables for Conda Build
|
|
107
|
+
# build conda package from wheel
|
|
108
|
+
# avoids conda build issues on github osx-x64 and win runners
|
|
102
109
|
if: matrix.conda
|
|
103
110
|
shell: bash
|
|
104
111
|
run: |
|
|
105
112
|
if [ $NOARCH == true ]; then
|
|
106
113
|
CONDA_BUILD_ARGS="--noarch"
|
|
107
114
|
else
|
|
108
|
-
CONDA_BUILD_ARGS=""
|
|
115
|
+
CONDA_BUILD_ARGS="--from-wheel"
|
|
109
116
|
fi
|
|
110
117
|
echo "CONDA_BUILD_ARGS=$CONDA_BUILD_ARGS" >> $GITHUB_ENV
|
|
111
118
|
|
|
112
119
|
- name: Install Miniconda
|
|
113
120
|
if: matrix.conda
|
|
114
|
-
uses: conda-incubator/setup-miniconda@
|
|
121
|
+
uses: conda-incubator/setup-miniconda@v3
|
|
115
122
|
with:
|
|
116
123
|
auto-update-conda: true
|
|
117
124
|
python-version: ${{ matrix.python }}
|
|
118
125
|
architecture: ${{ matrix.arch }}
|
|
119
126
|
miniconda-version: "latest"
|
|
120
127
|
|
|
121
|
-
- name: Workaround conda-build incompatibility with xcode 12+
|
|
122
|
-
if: runner.os == 'macOS'
|
|
123
|
-
uses: maxim-lobanov/setup-xcode@v1
|
|
124
|
-
with:
|
|
125
|
-
xcode-version: 11.7
|
|
126
|
-
|
|
127
128
|
- name: Conda package (Unix)
|
|
128
129
|
if: (matrix.conda && runner.os != 'Windows')
|
|
129
130
|
shell: bash -l {0}
|
|
@@ -140,9 +141,9 @@ jobs:
|
|
|
140
141
|
|
|
141
142
|
- name: Upload Artifact
|
|
142
143
|
if: matrix.conda
|
|
143
|
-
uses: actions/upload-artifact@
|
|
144
|
+
uses: actions/upload-artifact@v4
|
|
144
145
|
with:
|
|
145
|
-
name: conda_packages
|
|
146
|
+
name: conda_packages-${{ matrix.os }}_${{ matrix.arch }}-py${{ matrix.python}}
|
|
146
147
|
path: ./conda_packages
|
|
147
148
|
|
|
148
149
|
|
|
@@ -153,7 +154,7 @@ jobs:
|
|
|
153
154
|
steps:
|
|
154
155
|
- name: Checkout
|
|
155
156
|
if: env.PURE == 'false'
|
|
156
|
-
uses: actions/checkout@
|
|
157
|
+
uses: actions/checkout@v4
|
|
157
158
|
with:
|
|
158
159
|
fetch-depth: 0
|
|
159
160
|
|
|
@@ -163,14 +164,14 @@ jobs:
|
|
|
163
164
|
|
|
164
165
|
- name: Build Manylinux Wheels
|
|
165
166
|
if: env.PURE == 'false'
|
|
166
|
-
uses: RalfG/python-wheels-manylinux-build@v0.
|
|
167
|
+
uses: RalfG/python-wheels-manylinux-build@v0.7.1
|
|
167
168
|
with:
|
|
168
|
-
python-versions: '
|
|
169
|
+
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'
|
|
169
170
|
pre-build-command: 'git config --global --add safe.directory "*"'
|
|
170
171
|
|
|
171
172
|
- name: Upload Artifact
|
|
172
173
|
if: env.PURE == 'false'
|
|
173
|
-
uses: actions/upload-artifact@
|
|
174
|
+
uses: actions/upload-artifact@v4
|
|
174
175
|
with:
|
|
175
176
|
name: dist
|
|
176
177
|
path: dist/*manylinux*.whl
|
|
@@ -181,17 +182,19 @@ jobs:
|
|
|
181
182
|
needs: [build, manylinux]
|
|
182
183
|
steps:
|
|
183
184
|
|
|
184
|
-
- name: Download
|
|
185
|
-
uses: actions/download-artifact@
|
|
185
|
+
- name: Download Wheels and Source
|
|
186
|
+
uses: actions/download-artifact@v4
|
|
186
187
|
with:
|
|
187
|
-
|
|
188
|
+
pattern: dist*
|
|
188
189
|
path: ./dist
|
|
190
|
+
merge-multiple: true
|
|
189
191
|
|
|
190
|
-
- name: Download
|
|
191
|
-
uses: actions/download-artifact@
|
|
192
|
+
- name: Download Conda Packages
|
|
193
|
+
uses: actions/download-artifact@v4
|
|
192
194
|
with:
|
|
193
|
-
|
|
195
|
+
pattern: conda_packages-*
|
|
194
196
|
path: ./conda_packages
|
|
197
|
+
merge-multiple: true
|
|
195
198
|
|
|
196
199
|
- name: Get Version Number
|
|
197
200
|
if: github.event.ref_type == 'tag'
|
|
@@ -201,7 +204,7 @@ jobs:
|
|
|
201
204
|
|
|
202
205
|
- name: Create GitHub Release and Upload Release Asset
|
|
203
206
|
if: github.event.ref_type == 'tag'
|
|
204
|
-
uses: softprops/action-gh-release@
|
|
207
|
+
uses: softprops/action-gh-release@v2
|
|
205
208
|
env:
|
|
206
209
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
207
210
|
with:
|
|
@@ -226,7 +229,7 @@ jobs:
|
|
|
226
229
|
password: ${{ secrets.pypi }}
|
|
227
230
|
|
|
228
231
|
- name: Install Miniconda
|
|
229
|
-
uses: conda-incubator/setup-miniconda@
|
|
232
|
+
uses: conda-incubator/setup-miniconda@v3
|
|
230
233
|
with:
|
|
231
234
|
auto-update-conda: true
|
|
232
235
|
|
|
@@ -1,26 +1,52 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: labscript-c-extensions
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: A module containing C-extensions for the labscript suite
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
Author-email: The labscript suite community <labscriptsuite@googlegroups.com>
|
|
6
|
+
License: BSD 2-Clause License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2020, the labscript suite
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
|
12
|
+
modification, are permitted provided that the following conditions are met:
|
|
13
|
+
|
|
14
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
15
|
+
list of conditions and the following disclaimer.
|
|
16
|
+
|
|
17
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
18
|
+
this list of conditions and the following disclaimer in the documentation
|
|
19
|
+
and/or other materials provided with the distribution.
|
|
20
|
+
|
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
22
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
23
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
24
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
25
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
26
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
27
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
28
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
29
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
30
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
|
|
32
|
+
Project-URL: Homepage, http://labscriptsuite.org/
|
|
33
|
+
Project-URL: Documentation, https://docs.labscriptsuite.org/
|
|
34
|
+
Project-URL: Repository, https://github.com/labscript-suite/labscript-c-extension/
|
|
35
|
+
Project-URL: Downloads, https://github.com/labscript-suite/labscript-c-extension/releases/
|
|
36
|
+
Project-URL: Tracker, https://github.com/labscript-suite/labscript-c-extension/issues/
|
|
37
|
+
Keywords: experiment control,automation,visualization
|
|
13
38
|
Classifier: License :: OSI Approved :: BSD License
|
|
14
39
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
17
40
|
Classifier: Programming Language :: Python :: 3.8
|
|
18
41
|
Classifier: Programming Language :: Python :: 3.9
|
|
19
42
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
43
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
45
|
+
Requires-Python: >=3.8
|
|
22
46
|
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE
|
|
47
|
+
License-File: LICENSE.txt
|
|
48
|
+
Requires-Dist: importlib_metadata
|
|
49
|
+
Requires-Dist: numpy>=1.17.3
|
|
24
50
|
|
|
25
51
|
<img src="https://raw.githubusercontent.com/labscript-suite/labscript-suite/master/art/labscript_32nx32n.svg" height="64" alt="the labscript suite" align="right">
|
|
26
52
|
|
{labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions/__version__.py
RENAMED
|
@@ -10,22 +10,28 @@
|
|
|
10
10
|
# root of the project for the full license. #
|
|
11
11
|
# #
|
|
12
12
|
#####################################################################
|
|
13
|
-
import os
|
|
14
13
|
from pathlib import Path
|
|
15
14
|
try:
|
|
16
15
|
import importlib.metadata as importlib_metadata
|
|
17
16
|
except ImportError:
|
|
18
17
|
import importlib_metadata
|
|
19
18
|
|
|
20
|
-
VERSION_SCHEME = {
|
|
21
|
-
"version_scheme": os.getenv("SCM_VERSION_SCHEME", "guess-next-dev"),
|
|
22
|
-
"local_scheme": os.getenv("SCM_LOCAL_SCHEME", "node-and-date"),
|
|
23
|
-
}
|
|
24
|
-
|
|
25
19
|
root = Path(__file__).parent.parent
|
|
26
20
|
if (root / '.git').is_dir():
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
try:
|
|
22
|
+
from setuptools_scm import get_version
|
|
23
|
+
VERSION_SCHEME = {
|
|
24
|
+
"version_scheme": "guess-next-dev",
|
|
25
|
+
"local_scheme": "node-and-date",
|
|
26
|
+
}
|
|
27
|
+
scm_version = get_version(root, **VERSION_SCHEME)
|
|
28
|
+
except ImportError:
|
|
29
|
+
scm_version = None
|
|
30
|
+
else:
|
|
31
|
+
scm_version = None
|
|
32
|
+
|
|
33
|
+
if scm_version is not None:
|
|
34
|
+
__version__ = scm_version
|
|
29
35
|
else:
|
|
30
36
|
try:
|
|
31
37
|
__version__ = importlib_metadata.version(__package__)
|
|
@@ -1,26 +1,52 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: labscript-c-extensions
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: A module containing C-extensions for the labscript suite
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
Author-email: The labscript suite community <labscriptsuite@googlegroups.com>
|
|
6
|
+
License: BSD 2-Clause License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2020, the labscript suite
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
|
12
|
+
modification, are permitted provided that the following conditions are met:
|
|
13
|
+
|
|
14
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
15
|
+
list of conditions and the following disclaimer.
|
|
16
|
+
|
|
17
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
18
|
+
this list of conditions and the following disclaimer in the documentation
|
|
19
|
+
and/or other materials provided with the distribution.
|
|
20
|
+
|
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
22
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
23
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
24
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
25
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
26
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
27
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
28
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
29
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
30
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
|
|
32
|
+
Project-URL: Homepage, http://labscriptsuite.org/
|
|
33
|
+
Project-URL: Documentation, https://docs.labscriptsuite.org/
|
|
34
|
+
Project-URL: Repository, https://github.com/labscript-suite/labscript-c-extension/
|
|
35
|
+
Project-URL: Downloads, https://github.com/labscript-suite/labscript-c-extension/releases/
|
|
36
|
+
Project-URL: Tracker, https://github.com/labscript-suite/labscript-c-extension/issues/
|
|
37
|
+
Keywords: experiment control,automation,visualization
|
|
13
38
|
Classifier: License :: OSI Approved :: BSD License
|
|
14
39
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
17
40
|
Classifier: Programming Language :: Python :: 3.8
|
|
18
41
|
Classifier: Programming Language :: Python :: 3.9
|
|
19
42
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
43
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
45
|
+
Requires-Python: >=3.8
|
|
22
46
|
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE
|
|
47
|
+
License-File: LICENSE.txt
|
|
48
|
+
Requires-Dist: importlib_metadata
|
|
49
|
+
Requires-Dist: numpy>=1.17.3
|
|
24
50
|
|
|
25
51
|
<img src="https://raw.githubusercontent.com/labscript-suite/labscript-suite/master/art/labscript_32nx32n.svg" height="64" alt="the labscript suite" align="right">
|
|
26
52
|
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=64", "wheel", "setuptools_scm>=8", "cython",
|
|
3
|
+
"numpy>=2.0,<3; python_version>'3.8'"]
|
|
4
|
+
build-backend = "setuptools.build_meta"
|
|
5
|
+
|
|
6
|
+
[tool.setuptools_scm]
|
|
7
|
+
version_scheme = "guess-next-dev"
|
|
8
|
+
local_scheme = "no-local-version"
|
|
9
|
+
|
|
10
|
+
[tool.setuptools]
|
|
11
|
+
zip-safe = false
|
|
12
|
+
include-package-data = true
|
|
13
|
+
|
|
14
|
+
[tool.setuptools.packages]
|
|
15
|
+
find = {namespaces = false}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
[project]
|
|
19
|
+
name = "labscript-c-extensions"
|
|
20
|
+
description = "A module containing C-extensions for the labscript suite"
|
|
21
|
+
authors = [
|
|
22
|
+
{name = "The labscript suite community", email = "labscriptsuite@googlegroups.com"},
|
|
23
|
+
]
|
|
24
|
+
keywords = ["experiment control", "automation", "visualization"]
|
|
25
|
+
license = {file = 'LICENSE.txt'}
|
|
26
|
+
classifiers = [
|
|
27
|
+
"License :: OSI Approved :: BSD License",
|
|
28
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
29
|
+
"Programming Language :: Python :: 3.8",
|
|
30
|
+
"Programming Language :: Python :: 3.9",
|
|
31
|
+
"Programming Language :: Python :: 3.10",
|
|
32
|
+
"Programming Language :: Python :: 3.11",
|
|
33
|
+
"Programming Language :: Python :: 3.12",
|
|
34
|
+
]
|
|
35
|
+
requires-python = ">=3.8"
|
|
36
|
+
dependencies = [
|
|
37
|
+
"importlib_metadata",
|
|
38
|
+
"numpy>=1.17.3",
|
|
39
|
+
]
|
|
40
|
+
dynamic = ["version"]
|
|
41
|
+
|
|
42
|
+
[project.readme]
|
|
43
|
+
file = "README.md"
|
|
44
|
+
content-type = "text/markdown"
|
|
45
|
+
|
|
46
|
+
[project.urls]
|
|
47
|
+
Homepage = "http://labscriptsuite.org/"
|
|
48
|
+
Documentation = "https://docs.labscriptsuite.org/"
|
|
49
|
+
Repository = "https://github.com/labscript-suite/labscript-c-extension/"
|
|
50
|
+
Downloads = "https://github.com/labscript-suite/labscript-c-extension/releases/"
|
|
51
|
+
Tracker = "https://github.com/labscript-suite/labscript-c-extension/issues/"
|
|
@@ -6,13 +6,6 @@ from Cython.Distutils import build_ext
|
|
|
6
6
|
|
|
7
7
|
CMDCLASS = {"build_ext": build_ext}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
VERSION_SCHEME = {
|
|
11
|
-
"version_scheme": os.getenv("SCM_VERSION_SCHEME", "guess-next-dev"),
|
|
12
|
-
"local_scheme": os.getenv("SCM_LOCAL_SCHEME", "node-and-date"),
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
9
|
EXT_MODULES = [
|
|
17
10
|
Extension(
|
|
18
11
|
"labscript_c_extensions.runviewer.resample",
|
|
@@ -21,7 +14,6 @@ EXT_MODULES = [
|
|
|
21
14
|
]
|
|
22
15
|
|
|
23
16
|
setup(
|
|
24
|
-
use_scm_version=VERSION_SCHEME,
|
|
25
17
|
cmdclass=CMDCLASS,
|
|
26
18
|
ext_modules=EXT_MODULES,
|
|
27
19
|
)
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
[metadata]
|
|
2
|
-
name = labscript-c-extensions
|
|
3
|
-
description = A module containing C-extensions for the labscript suite
|
|
4
|
-
long_description = file: README.md
|
|
5
|
-
long_description_content_type = text/markdown
|
|
6
|
-
author = The labscript suite community
|
|
7
|
-
author_email = labscriptsuite@googlegroups.com
|
|
8
|
-
url = http://labscriptsuite.org
|
|
9
|
-
project_urls =
|
|
10
|
-
Source Code=https://github.com/labscript-suite/labscript-c-extensions
|
|
11
|
-
Download=https://github.com/labscript-suite/labscript-c-extensions/releases
|
|
12
|
-
Tracker=https://github.com/labscript-suite/labscript-c-extensions/issues
|
|
13
|
-
keywords = experiment visualization
|
|
14
|
-
license = BSD
|
|
15
|
-
classifiers =
|
|
16
|
-
License :: OSI Approved :: BSD License
|
|
17
|
-
Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Programming Language :: Python :: 3.6
|
|
19
|
-
Programming Language :: Python :: 3.7
|
|
20
|
-
Programming Language :: Python :: 3.8
|
|
21
|
-
Programming Language :: Python :: 3.9
|
|
22
|
-
Programming Language :: Python :: 3.10
|
|
23
|
-
Programming Language :: Python :: 3.11
|
|
24
|
-
|
|
25
|
-
[options]
|
|
26
|
-
zip_safe = False
|
|
27
|
-
include_package_data = True
|
|
28
|
-
packages = find:
|
|
29
|
-
python_requires = >=3.6
|
|
30
|
-
install_requires =
|
|
31
|
-
importlib_metadata
|
|
32
|
-
setuptools_scm
|
|
33
|
-
numpy>=1.15
|
|
34
|
-
|
|
35
|
-
[egg_info]
|
|
36
|
-
tag_build =
|
|
37
|
-
tag_date = 0
|
|
38
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labscript-c-extensions-1.1.0 → labscript_c_extensions-1.2.0}/labscript_c_extensions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|