Skip to content

Commit caf4608

Browse files
committed
Update build conditions
1 parent 1f3390c commit caf4608

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
- name: Build wheels
2929
uses: pypa/cibuildwheel@v2.6.1
3030
env:
31+
CIBW_BUILD: "cp311-*"
3132
CIBW_ARCHS_LINUX: auto, aarch64
3233

3334
- name: Run test.py in develop mode
3435
run: |
36+
python -m pip install opencv-python setuptools
3537
python setup_setuptools.py develop
36-
python -m pip install opencv-python
3738
python --version
3839
python test.py
3940

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@
3333
"Programming Language :: Python :: 3.8",
3434
"Programming Language :: Python :: 3.9",
3535
"Programming Language :: Python :: 3.10",
36+
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
3638
"Programming Language :: C++",
3739
"Programming Language :: Python :: Implementation :: CPython",
3840
"Topic :: Scientific/Engineering",
3941
"Topic :: Software Development",
4042
],
41-
install_requires=['opencv-python', 'setuptools'],
43+
install_requires=['opencv-python'],
4244
entry_points={
4345
'console_scripts': ['scanbarcode=barcodeQrSDK.scripts:scanbarcode']
4446
},

setup_setuptools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,14 @@ def run(self):
126126
"Programming Language :: Python :: 3.8",
127127
"Programming Language :: Python :: 3.9",
128128
"Programming Language :: Python :: 3.10",
129+
"Programming Language :: Python :: 3.11",
130+
"Programming Language :: Python :: 3.12",
129131
"Programming Language :: C++",
130132
"Programming Language :: Python :: Implementation :: CPython",
131133
"Topic :: Scientific/Engineering",
132134
"Topic :: Software Development",
133135
],
134-
install_requires=['opencv-python', 'setuptools'],
136+
install_requires=['opencv-python'],
135137
entry_points={
136138
'console_scripts': ['scanbarcode=barcodeQrSDK.scripts:scanbarcode']
137139
},

0 commit comments

Comments
 (0)