From a175c16c097de0d1b109d6b9fac737347c69ce06 Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Fri, 30 Jun 2017 14:00:51 +0200 Subject: [PATCH] Create missing dir in setup.py --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 422b898..229dc50 100755 --- a/setup.py +++ b/setup.py @@ -69,6 +69,11 @@ class CMakeBuild(build_ext): storm_v_major, storm_v_minor, storm_v_patch = parse_storm_version(self.conf.STORM_VERSION) check_storm_compatible(storm_v_major, storm_v_minor, storm_v_patch) + # Create dir + lib_path = os.path.join(self.extdir("core")) + if not os.path.exists(lib_path): + os.makedirs(lib_path) + for ext in self.extensions: if ext.name == "core": with open(os.path.join(self.extdir(ext.name), ext.subdir, "_config.py"), "w") as f: