Skip to content

Commit 38bb1d8

Browse files
committed
added remaining abi3 stuff
1 parent 08ed3b3 commit 38bb1d8

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/CI-macos.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
pip install -r requirements.txt
2626
2727
- name: Build wheel
28-
run: python setup.py bdist_wheel
28+
run: python setup.py bdist_wheel --py-limited-api=cp36
2929

30-
- name: Install program for ${{matrix.TARGET}}
30+
- name: Install software
3131
run: pip install --find-links=${{github.workspace}}/dist/ SimpleCRF
3232

3333
- name: Test import

.github/workflows/CI-ubuntu.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
pip install -r requirements.txt
2626
2727
- name: Build wheel
28-
run: python setup.py bdist_wheel
28+
run: python setup.py bdist_wheel --py-limited-api=cp36
2929

30-
- name: Install program for ${{matrix.TARGET}}
30+
- name: Install software
3131
run: pip install --find-links=${{github.workspace}}/dist/ SimpleCRF
3232

3333
- name: Test import

.github/workflows/CI-windows.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
pip install -r requirements.txt
2626
2727
- name: Build wheel
28-
run: python setup.py bdist_wheel
28+
run: python setup.py bdist_wheel --py-limited-api=cp36
2929

30-
- name: Install program for ${{matrix.TARGET}}
30+
- name: Install software
3131
run: pip install --find-links=${{github.workspace}}/dist/ SimpleCRF
3232

3333
- name: Test import

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
py_limited_api = cp36

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ def finalize_options(self):
9595
ext_modules = [module1, module2, module3],
9696
classifiers=[
9797
'License :: OSI Approved :: BSD License',
98-
'Programming Language :: Python',
99-
'Programming Language :: Python :: 2',
100-
'Programming Language :: Python :: 3',
98+
'Programming Language :: Python :: 3 :: Only',
10199
],
102100
python_requires = '>=3.6',
103101
cmdclass={'build_ext': build_ext},)

0 commit comments

Comments
 (0)