Skip to content

Commit 819d68b

Browse files
committed
Skip cp11 for manywheel
1 parent 3ecb77b commit 819d68b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
build-requirements: "cython numpy"
5252
pip-wheel-args: "-w ./dist --no-deps"
53-
python-versions: "cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311"
53+
python-versions: "cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
5454
- name: "Remove non-compatible packages"
5555
run: "sudo rm dist/*linux_x86_64.whl\n"
5656
- uses: actions/upload-artifact@v3

setup.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# ---------------------------------------------------------------------------------------------------------
1616

1717

18-
1918
__name__ = "pymoo"
2019
__author__ = "Julian Blank"
2120
__url__ = "https://pymoo.org"
@@ -33,7 +32,7 @@
3332
packages=find_packages(include=['pymoo', 'pymoo.*']),
3433
include_package_data=True,
3534
exclude_package_data={
36-
'': ['*.c', '*.cpp', '*.pyx'],
35+
'': ['*.c', '*.cpp', '*.pyx'],
3736
},
3837
install_requires=['numpy>=1.15',
3938
'scipy>=1.1',
@@ -55,12 +54,14 @@
5554
'Programming Language :: Python :: 3.8',
5655
'Programming Language :: Python :: 3.9',
5756
'Programming Language :: Python :: 3.10',
57+
'Programming Language :: Python :: 3.11',
5858
'Topic :: Scientific/Engineering',
5959
'Topic :: Scientific/Engineering :: Artificial Intelligence',
6060
'Topic :: Scientific/Engineering :: Mathematics'
6161
]
6262
)
6363

64+
6465
# ---------------------------------------------------------------------------------------------------------
6566
# OTHER METADATA
6667
# ---------------------------------------------------------------------------------------------------------
@@ -75,14 +76,14 @@ def readme():
7576
data['long_description'] = readme()
7677
data['long_description_content_type'] = 'text/x-rst'
7778

78-
7979
# ---------------------------------------------------------------------------------------------------------
8080
# OPTIONS
8181
# ---------------------------------------------------------------------------------------------------------
8282

8383

8484
parser = argparse.ArgumentParser()
85-
parser.add_argument('--nopyx', dest='nopyx', action='store_true', help='Whether the pyx files shall be considered at all.')
85+
parser.add_argument('--nopyx', dest='nopyx', action='store_true',
86+
help='Whether the pyx files shall be considered at all.')
8687
parser.add_argument('--nocython', dest='nocython', action='store_true', help='Whether pyx files shall be cythonized.')
8788
parser.add_argument('--nolibs', dest='nolibs', action='store_true', help='Whether the libraries should be compiled.')
8889
args, _ = parser.parse_known_args()
@@ -158,6 +159,7 @@ def build_extension(self, ext):
158159
ext = [Extension(f"pymoo.cython.{source[:-4]}", [source]) for source in pyx]
159160
else:
160161
from Cython.Build import cythonize
162+
161163
ext = cythonize("pymoo/cython/*.pyx")
162164

163165
if not args.nolibs:

0 commit comments

Comments
 (0)