Skip to content

Commit a437ef0

Browse files
committed
- use local dependencies
1 parent beda6bb commit a437ef0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

libsbml_source

Submodule libsbml_source updated 91 files

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_dir_if_exists(variable, default):
102102
global SRC_DIR
103103
SRC_DIR = get_dir_if_exists('LIBSBML_SRC_DIR', './libsbml_source')
104104
global DEP_DIR
105-
DEP_DIR = get_dir_if_exists('LIBSBML_DEP_DIR', '../libsbml_dependencies/')
105+
DEP_DIR = get_dir_if_exists('LIBSBML_DEP_DIR', './libsbml_dependencies/')
106106
DEP_DIR32 = get_dir_if_exists('LIBSBML_DEP_DIR_32', '../win_libsbml_dependencies_32/')
107107
DEP_DIR64 = get_dir_if_exists('LIBSBML_DEP_DIR_64', '../win_libsbml_dependencies_64/')
108108

@@ -232,7 +232,7 @@ def build_cmake(self, extension):
232232
]
233233

234234
global DEP_DIR
235-
if not DEP_DIR and not self.dry_run:
235+
if not self.dry_run:
236236
print("compiling dependencies")
237237
dep_suffix = sysconfig.get_platform()
238238
dep_build_dir = os.path.join(cwd, 'build_dependencies_' + dep_suffix)

0 commit comments

Comments
 (0)