File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,22 @@ steps:
106
106
export CIBW_ARCHS_MACOS="x86_64 arm64"
107
107
export CIBW_TEST_SKIP="*-macosx_arm64"
108
108
export CIBW_SKIP="pp* *-musllinux* *i686* *-win32 *-win_arm64 cp36-* cp37-* cp38-*"
109
- export CIBW_BUILD="cp39-* cp310-* cp311-* cp312-*"
109
+ if [ "$(package_name)" == "spacy" ]; then
110
+ export CIBW_BEFORE_BUILD="pip install -r requirements.txt && python setup.py clean"
111
+ fi
112
+
113
+ if [ "$(python_version)" == "3.9" ]; then
114
+ export CIBW_BUILD="cp39-*"
115
+ fi
116
+ if [ "$(python_version)" == "3.10" ]; then
117
+ export CIBW_BUILD="cp310-*"
118
+ fi
119
+ if [ "$(python_version)" == "3.11" ]; then
120
+ export CIBW_BUILD="cp311-*"
121
+ fi
122
+ if [ "$(python_version)" == "3.12" ]; then
123
+ export CIBW_BUILD="cp312-*"
124
+ fi
110
125
# for spacy: clean cython-generated files between builds to handle
111
126
# profiling settings, since the builds aren't isolated; a cleaner/nicer
112
127
# version would install the build requirements from pyproject.toml
You can’t perform that action at this time.
0 commit comments