Skip to content

Commit 624065c

Browse files
danilopeixotoawni
andauthored
Fix package installation for CI (#521)
Co-authored-by: Awni Hannun <[email protected]>
1 parent f27ec5e commit 624065c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ jobs:
136136
pip install pybind11-stubgen
137137
pip install numpy
138138
pip install twine
139+
# TODO: Update build system to switch away from setup.py develop
139140
- run:
140141
name: Install Python package
141142
command: |
@@ -144,7 +145,7 @@ jobs:
144145
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
145146
PYPI_RELEASE=1 \
146147
CMAKE_BUILD_PARALLEL_LEVEL="" \
147-
python setup.py install
148+
python setup.py develop
148149
- run:
149150
name: Generate package stubs
150151
command: |
@@ -196,7 +197,7 @@ jobs:
196197
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
197198
DEV_RELEASE=1 \
198199
CMAKE_BUILD_PARALLEL_LEVEL="" \
199-
python setup.py install
200+
python setup.py develop
200201
- run:
201202
name: Generate package stubs
202203
command: |
@@ -247,7 +248,7 @@ jobs:
247248
conda activate runner-env
248249
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
249250
CMAKE_BUILD_PARALLEL_LEVEL="" \
250-
python setup.py install
251+
python setup.py develop
251252
- run:
252253
name: Generate package stubs
253254
command: |

0 commit comments

Comments
 (0)