labscript-c-extensions 1.0.2__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.0.2 → labscript_c_extensions-1.2.0}/.github/workflows/release.yml +79 -88
- {labscript-c-extensions-1.0.2/labscript_c_extensions.egg-info → labscript_c_extensions-1.2.0}/PKG-INFO +41 -16
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/labscript_c_extensions/__version__.py +14 -8
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0/labscript_c_extensions.egg-info}/PKG-INFO +41 -16
- {labscript-c-extensions-1.0.2 → 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.0.2 → labscript_c_extensions-1.2.0}/setup.py +0 -8
- labscript-c-extensions-1.0.2/labscript_c_extensions.egg-info/requires.txt +0 -3
- labscript-c-extensions-1.0.2/pyproject.toml +0 -3
- labscript-c-extensions-1.0.2/setup.cfg +0 -36
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/.gitignore +0 -0
- /labscript-c-extensions-1.0.2/LICENSE → /labscript_c_extensions-1.2.0/LICENSE.txt +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/README.md +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/labscript_c_extensions/__init__.py +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/labscript_c_extensions/runviewer/__init__.py +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/dependency_links.txt +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/not-zip-safe +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/labscript_c_extensions.egg-info/top_level.txt +0 -0
- {labscript-c-extensions-1.0.2 → labscript_c_extensions-1.2.0}/src/runviewer/resample.pyx +0 -0
|
@@ -9,14 +9,8 @@ on:
|
|
|
9
9
|
tags:
|
|
10
10
|
- 'v[0-9]+.[0-9]+.[0-9]+*'
|
|
11
11
|
|
|
12
|
-
defaults:
|
|
13
|
-
run:
|
|
14
|
-
shell: bash -l {0}
|
|
15
|
-
|
|
16
12
|
env:
|
|
17
|
-
PACKAGE_NAME:
|
|
18
|
-
SCM_VERSION_SCHEME: release-branch-semver
|
|
19
|
-
SCM_LOCAL_SCHEME: no-local-version
|
|
13
|
+
PACKAGE_NAME: labscript_c_extensions
|
|
20
14
|
ANACONDA_USER: labscript-suite
|
|
21
15
|
|
|
22
16
|
# Configuration for a package with compiled extensions:
|
|
@@ -40,32 +34,42 @@ jobs:
|
|
|
40
34
|
name: Build
|
|
41
35
|
runs-on: ${{ matrix.os }}
|
|
42
36
|
strategy:
|
|
37
|
+
fail-fast: false
|
|
43
38
|
matrix:
|
|
44
39
|
include:
|
|
45
|
-
- { os: ubuntu-latest, python: 3.
|
|
46
|
-
- { os: ubuntu-latest, python: 3.
|
|
47
|
-
- { os: ubuntu-latest, python: 3.
|
|
48
|
-
- { os: ubuntu-latest, python: 3.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
- { os: macos-
|
|
52
|
-
- { os: macos-
|
|
53
|
-
- { os: macos-
|
|
54
|
-
|
|
55
|
-
- { os:
|
|
56
|
-
|
|
57
|
-
- { os:
|
|
58
|
-
- { os:
|
|
59
|
-
|
|
60
|
-
- { os:
|
|
61
|
-
|
|
62
|
-
- { os: windows-latest, python: 3.
|
|
63
|
-
- { os: windows-latest, python: 3.
|
|
40
|
+
- { os: ubuntu-latest, python: '3.12', arch: x64, conda: true}
|
|
41
|
+
- { os: ubuntu-latest, python: '3.11', arch: x64, conda: true}
|
|
42
|
+
- { os: ubuntu-latest, python: '3.10', arch: x64, conda: true }
|
|
43
|
+
- { os: ubuntu-latest, python: '3.9', arch: x64, conda: true }
|
|
44
|
+
- { os: ubuntu-latest, python: '3.8', arch: x64, conda: true }
|
|
45
|
+
|
|
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
|
+
|
|
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 }
|
|
58
|
+
- { os: windows-latest, python: '3.11', arch: x64, conda: true }
|
|
59
|
+
- { os: windows-latest, python: '3.10', arch: x64, conda: true }
|
|
60
|
+
- { os: windows-latest, python: '3.9', arch: x64, conda: true }
|
|
61
|
+
- { os: windows-latest, python: '3.8', arch: x64, conda: true }
|
|
62
|
+
|
|
63
|
+
- { os: windows-latest, python: '3.12', arch: x86, conda: false } # conda not yet available
|
|
64
|
+
- { os: windows-latest, python: '3.11', arch: x86, conda: false } # conda not yet available
|
|
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
|
|
64
68
|
|
|
65
69
|
if: github.repository == 'labscript-suite/labscript-c-extensions' && (github.event_name != 'create' || github.event.ref_type != 'branch')
|
|
66
70
|
steps:
|
|
67
71
|
- name: Checkout
|
|
68
|
-
uses: actions/checkout@
|
|
72
|
+
uses: actions/checkout@v4
|
|
69
73
|
with:
|
|
70
74
|
fetch-depth: 0
|
|
71
75
|
|
|
@@ -74,7 +78,7 @@ jobs:
|
|
|
74
78
|
run: git tag -d $(git tag --points-at HEAD)
|
|
75
79
|
|
|
76
80
|
- name: Install Python
|
|
77
|
-
uses: actions/setup-python@
|
|
81
|
+
uses: actions/setup-python@v5
|
|
78
82
|
with:
|
|
79
83
|
python-version: ${{ matrix.python }}
|
|
80
84
|
architecture: ${{ matrix.arch }}
|
|
@@ -82,81 +86,75 @@ jobs:
|
|
|
82
86
|
- name: Source Distribution
|
|
83
87
|
if: strategy.job-index == 0
|
|
84
88
|
run: |
|
|
85
|
-
python -m pip install --upgrade pip setuptools wheel
|
|
86
|
-
python -m
|
|
89
|
+
python -m pip install --upgrade pip setuptools wheel build
|
|
90
|
+
python -m build -s .
|
|
87
91
|
|
|
88
92
|
- name: Wheel Distribution
|
|
89
93
|
# Impure Linux wheels are built in the manylinux job.
|
|
90
94
|
if: (env.PURE == 'true' && strategy.job-index == 0) || (env.PURE == 'false' && runner.os != 'Linux')
|
|
91
95
|
run: |
|
|
92
|
-
python -m pip install --upgrade pip setuptools wheel
|
|
93
|
-
python -m
|
|
96
|
+
python -m pip install --upgrade pip setuptools wheel build
|
|
97
|
+
python -m build -w .
|
|
94
98
|
|
|
95
99
|
- name: Upload Artifact
|
|
96
100
|
if: strategy.job-index == 0 || (env.PURE == 'false' && runner.os != 'Linux')
|
|
97
|
-
uses: actions/upload-artifact@
|
|
101
|
+
uses: actions/upload-artifact@v4
|
|
98
102
|
with:
|
|
99
|
-
name: dist
|
|
103
|
+
name: dist-${{ matrix.os }}_${{ matrix.arch }}-py${{ matrix.python}}
|
|
100
104
|
path: ./dist
|
|
101
105
|
|
|
102
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
|
|
109
|
+
if: matrix.conda
|
|
110
|
+
shell: bash
|
|
103
111
|
run: |
|
|
104
112
|
if [ $NOARCH == true ]; then
|
|
105
113
|
CONDA_BUILD_ARGS="--noarch"
|
|
106
114
|
else
|
|
107
|
-
CONDA_BUILD_ARGS=""
|
|
115
|
+
CONDA_BUILD_ARGS="--from-wheel"
|
|
108
116
|
fi
|
|
109
117
|
echo "CONDA_BUILD_ARGS=$CONDA_BUILD_ARGS" >> $GITHUB_ENV
|
|
110
118
|
|
|
111
119
|
- name: Install Miniconda
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
uses: conda-incubator/setup-miniconda@v2.0.1
|
|
120
|
+
if: matrix.conda
|
|
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
|
-
if: runner.os != 'Windows'
|
|
129
|
+
if: (matrix.conda && runner.os != 'Windows')
|
|
130
|
+
shell: bash -l {0}
|
|
129
131
|
run: |
|
|
130
132
|
conda install -c labscript-suite setuptools-conda
|
|
131
133
|
setuptools-conda build $CONDA_BUILD_ARGS .
|
|
132
134
|
|
|
133
135
|
- name: Conda Package (Windows)
|
|
134
|
-
if: runner.os == 'Windows'
|
|
136
|
+
if: (matrix.conda && runner.os == 'Windows')
|
|
135
137
|
shell: cmd /C CALL {0}
|
|
136
138
|
run: |
|
|
137
139
|
conda install -c labscript-suite setuptools-conda && ^
|
|
138
140
|
setuptools-conda build %CONDA_BUILD_ARGS% --croot ${{ runner.temp }}\cb .
|
|
139
141
|
|
|
140
142
|
- name: Upload Artifact
|
|
141
|
-
|
|
143
|
+
if: matrix.conda
|
|
144
|
+
uses: actions/upload-artifact@v4
|
|
142
145
|
with:
|
|
143
|
-
name: conda_packages
|
|
146
|
+
name: conda_packages-${{ matrix.os }}_${{ matrix.arch }}-py${{ matrix.python}}
|
|
144
147
|
path: ./conda_packages
|
|
145
148
|
|
|
146
149
|
|
|
147
150
|
manylinux:
|
|
148
151
|
name: Build Manylinux
|
|
149
152
|
runs-on: ubuntu-latest
|
|
150
|
-
strategy:
|
|
151
|
-
matrix:
|
|
152
|
-
include:
|
|
153
|
-
- { python: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39' }
|
|
154
|
-
|
|
155
153
|
if: github.repository == 'labscript-suite/labscript-c-extensions' && (github.event_name != 'create' || github.event.ref_type != 'branch')
|
|
156
154
|
steps:
|
|
157
155
|
- name: Checkout
|
|
158
156
|
if: env.PURE == 'false'
|
|
159
|
-
uses: actions/checkout@
|
|
157
|
+
uses: actions/checkout@v4
|
|
160
158
|
with:
|
|
161
159
|
fetch-depth: 0
|
|
162
160
|
|
|
@@ -166,16 +164,17 @@ jobs:
|
|
|
166
164
|
|
|
167
165
|
- name: Build Manylinux Wheels
|
|
168
166
|
if: env.PURE == 'false'
|
|
169
|
-
uses: RalfG/python-wheels-manylinux-build@v0.
|
|
167
|
+
uses: RalfG/python-wheels-manylinux-build@v0.7.1
|
|
170
168
|
with:
|
|
171
|
-
python-versions:
|
|
169
|
+
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'
|
|
170
|
+
pre-build-command: 'git config --global --add safe.directory "*"'
|
|
172
171
|
|
|
173
172
|
- name: Upload Artifact
|
|
174
173
|
if: env.PURE == 'false'
|
|
175
|
-
uses: actions/upload-artifact@
|
|
174
|
+
uses: actions/upload-artifact@v4
|
|
176
175
|
with:
|
|
177
176
|
name: dist
|
|
178
|
-
path:
|
|
177
|
+
path: dist/*manylinux*.whl
|
|
179
178
|
|
|
180
179
|
release:
|
|
181
180
|
name: Release
|
|
@@ -183,24 +182,19 @@ jobs:
|
|
|
183
182
|
needs: [build, manylinux]
|
|
184
183
|
steps:
|
|
185
184
|
|
|
186
|
-
- name: Download
|
|
187
|
-
uses: actions/download-artifact@
|
|
185
|
+
- name: Download Wheels and Source
|
|
186
|
+
uses: actions/download-artifact@v4
|
|
188
187
|
with:
|
|
189
|
-
|
|
188
|
+
pattern: dist*
|
|
190
189
|
path: ./dist
|
|
190
|
+
merge-multiple: true
|
|
191
191
|
|
|
192
|
-
- name: Download
|
|
193
|
-
uses: actions/download-artifact@
|
|
192
|
+
- name: Download Conda Packages
|
|
193
|
+
uses: actions/download-artifact@v4
|
|
194
194
|
with:
|
|
195
|
-
|
|
195
|
+
pattern: conda_packages-*
|
|
196
196
|
path: ./conda_packages
|
|
197
|
-
|
|
198
|
-
- name: Publish on TestPyPI
|
|
199
|
-
uses: pypa/gh-action-pypi-publish@master
|
|
200
|
-
with:
|
|
201
|
-
user: __token__
|
|
202
|
-
password: ${{ secrets.testpypi }}
|
|
203
|
-
repository_url: https://test.pypi.org/legacy/
|
|
197
|
+
merge-multiple: true
|
|
204
198
|
|
|
205
199
|
- name: Get Version Number
|
|
206
200
|
if: github.event.ref_type == 'tag'
|
|
@@ -208,48 +202,44 @@ jobs:
|
|
|
208
202
|
VERSION="${GITHUB_REF/refs\/tags\/v/}"
|
|
209
203
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
|
210
204
|
|
|
211
|
-
- name: Create GitHub Release
|
|
205
|
+
- name: Create GitHub Release and Upload Release Asset
|
|
212
206
|
if: github.event.ref_type == 'tag'
|
|
213
|
-
|
|
214
|
-
uses: actions/create-release@latest
|
|
207
|
+
uses: softprops/action-gh-release@v2
|
|
215
208
|
env:
|
|
216
209
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
217
210
|
with:
|
|
218
211
|
tag_name: ${{ github.event.ref }}
|
|
219
|
-
|
|
212
|
+
name: ${{ env.PACKAGE_NAME }} ${{ env.VERSION }}
|
|
220
213
|
draft: true
|
|
221
214
|
prerelease: ${{ contains(github.event.ref, 'rc') }}
|
|
215
|
+
files: ./dist/${{ env.PACKAGE_NAME }}-${{ env.VERSION }}.tar.gz
|
|
222
216
|
|
|
223
|
-
- name:
|
|
224
|
-
|
|
225
|
-
uses: actions/upload-release-asset@v1
|
|
226
|
-
env:
|
|
227
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
217
|
+
- name: Publish on TestPyPI
|
|
218
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
228
219
|
with:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
asset_content_type: application/gzip
|
|
220
|
+
user: __token__
|
|
221
|
+
password: ${{ secrets.testpypi }}
|
|
222
|
+
repository-url: https://test.pypi.org/legacy/
|
|
233
223
|
|
|
234
224
|
- name: Publish on PyPI
|
|
235
225
|
if: github.event.ref_type == 'tag'
|
|
236
|
-
uses: pypa/gh-action-pypi-publish@
|
|
226
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
237
227
|
with:
|
|
238
228
|
user: __token__
|
|
239
229
|
password: ${{ secrets.pypi }}
|
|
240
230
|
|
|
241
231
|
- name: Install Miniconda
|
|
242
|
-
|
|
243
|
-
# and released. Then can change to v2
|
|
244
|
-
uses: conda-incubator/setup-miniconda@v2.0.1
|
|
232
|
+
uses: conda-incubator/setup-miniconda@v3
|
|
245
233
|
with:
|
|
246
234
|
auto-update-conda: true
|
|
247
235
|
|
|
248
236
|
- name: Install Anaconda cloud client
|
|
237
|
+
shell: bash -l {0}
|
|
249
238
|
run: conda install anaconda-client
|
|
250
239
|
|
|
251
240
|
- name: Publish to Anaconda test label
|
|
252
241
|
if: github.event.ref_type != 'tag'
|
|
242
|
+
shell: bash -l {0}
|
|
253
243
|
run: |
|
|
254
244
|
anaconda \
|
|
255
245
|
--token ${{ secrets.ANACONDA_API_TOKEN }} \
|
|
@@ -259,6 +249,7 @@ jobs:
|
|
|
259
249
|
conda_packages/*/*
|
|
260
250
|
|
|
261
251
|
- name: Publish to Anaconda main label
|
|
252
|
+
shell: bash -l {0}
|
|
262
253
|
if: github.event.ref_type == 'tag'
|
|
263
254
|
run: |
|
|
264
255
|
anaconda \
|
|
@@ -1,25 +1,52 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: labscript-c-extensions
|
|
3
|
-
Version: 1.0
|
|
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
|
-
|
|
13
|
-
|
|
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
|
|
14
38
|
Classifier: License :: OSI Approved :: BSD License
|
|
15
39
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
18
40
|
Classifier: Programming Language :: Python :: 3.8
|
|
19
41
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
-
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
45
|
+
Requires-Python: >=3.8
|
|
21
46
|
Description-Content-Type: text/markdown
|
|
22
|
-
License-File: LICENSE
|
|
47
|
+
License-File: LICENSE.txt
|
|
48
|
+
Requires-Dist: importlib_metadata
|
|
49
|
+
Requires-Dist: numpy>=1.17.3
|
|
23
50
|
|
|
24
51
|
<img src="https://raw.githubusercontent.com/labscript-suite/labscript-suite/master/art/labscript_32nx32n.svg" height="64" alt="the labscript suite" align="right">
|
|
25
52
|
|
|
@@ -45,5 +72,3 @@ Bundling these extensions in a separate module ensures that developer installati
|
|
|
45
72
|
## Installation
|
|
46
73
|
|
|
47
74
|
labscript-c-extensions is distributed as a Python package on [PyPI](https://pypi.org/user/labscript-suite) and [Anaconda Cloud](https://anaconda.org/labscript-suite), and should be installed with other components of the _labscript suite_. Please see the [installation guide](https://docs.labscriptsuite.org/en/latest/installation) for details.
|
|
48
|
-
|
|
49
|
-
|
{labscript-c-extensions-1.0.2 → 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,25 +1,52 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: labscript-c-extensions
|
|
3
|
-
Version: 1.0
|
|
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
|
-
|
|
13
|
-
|
|
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
|
|
14
38
|
Classifier: License :: OSI Approved :: BSD License
|
|
15
39
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
18
40
|
Classifier: Programming Language :: Python :: 3.8
|
|
19
41
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
-
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
45
|
+
Requires-Python: >=3.8
|
|
21
46
|
Description-Content-Type: text/markdown
|
|
22
|
-
License-File: LICENSE
|
|
47
|
+
License-File: LICENSE.txt
|
|
48
|
+
Requires-Dist: importlib_metadata
|
|
49
|
+
Requires-Dist: numpy>=1.17.3
|
|
23
50
|
|
|
24
51
|
<img src="https://raw.githubusercontent.com/labscript-suite/labscript-suite/master/art/labscript_32nx32n.svg" height="64" alt="the labscript suite" align="right">
|
|
25
52
|
|
|
@@ -45,5 +72,3 @@ Bundling these extensions in a separate module ensures that developer installati
|
|
|
45
72
|
## Installation
|
|
46
73
|
|
|
47
74
|
labscript-c-extensions is distributed as a Python package on [PyPI](https://pypi.org/user/labscript-suite) and [Anaconda Cloud](https://anaconda.org/labscript-suite), and should be installed with other components of the _labscript suite_. Please see the [installation guide](https://docs.labscriptsuite.org/en/latest/installation) for details.
|
|
48
|
-
|
|
49
|
-
|
|
@@ -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,36 +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
|
-
|
|
23
|
-
[options]
|
|
24
|
-
zip_safe = False
|
|
25
|
-
include_package_data = True
|
|
26
|
-
packages = find:
|
|
27
|
-
python_requires = >=3.6
|
|
28
|
-
install_requires =
|
|
29
|
-
importlib_metadata
|
|
30
|
-
setuptools_scm
|
|
31
|
-
numpy>=1.15
|
|
32
|
-
|
|
33
|
-
[egg_info]
|
|
34
|
-
tag_build =
|
|
35
|
-
tag_date = 0
|
|
36
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labscript-c-extensions-1.0.2 → 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
|