Skip to content

Commit dfe6cf4

Browse files
committed
force-build
1 parent cd0452b commit dfe6cf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build_pyoptsparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ def perform_install():
13771377
announce('Beginning installation')
13781378

13791379
# if using conda, we want numpy and scipy to be installed from conda-forge
1380-
if allow_install_with_conda():
1380+
if allow_install_with_conda() and opts['force_build'] is False:
13811381
numpy_info = get_package_info('numpy')
13821382
if numpy_info['installed'] is False or numpy_info['origin'] != 'conda-forge':
13831383
numpy_version = numpy_info['version']

0 commit comments

Comments
 (0)