Skip to content

Commit 744581d

Browse files
authored
Use SETUPTOOLS_USE_DISTUTILS=stdlib for newer setuptools (#2099)
* removal of distutils.log.Log from setuptools breaks building packages like numpy. See pypa/setuptools#3693 * we have used SETUPTOOLS_USE_DISTUTILS alternative already in #1924 * update circle-ci and azure pipelines similarly
1 parent fb8d0c2 commit 744581d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
-e NRN_RELEASE_UPLOAD \
3232
-e NEURON_WHEEL_VERSION \
3333
-e NRN_BUILD_FOR_UPLOAD=1 \
34+
-e SETUPTOOLS_USE_DISTUTILS=stdlib \
3435
'neuronsimulator/neuron_wheel:latest-gcc9-aarch64' \
3536
packaging/python/build_wheels.bash linux << parameters.NRN_PYTHON_VERSION >> coreneuron
3637

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ stages:
6969
-e NRN_RELEASE_UPLOAD \
7070
-e NEURON_WHEEL_VERSION \
7171
-e NRN_BUILD_FOR_UPLOAD=1 \
72+
-e SETUPTOOLS_USE_DISTUTILS=stdlib \
7273
'neuronsimulator/neuron_wheel:latest-gcc9-x86_64' \
7374
packaging/python/build_wheels.bash linux $(python.version) coreneuron
7475
displayName: 'Building ManyLinux Wheel'

0 commit comments

Comments
 (0)