From 5e1db92102444e243e20812e9e237f0e64edd9a8 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Thu, 19 Jul 2018 18:43:58 -0400 Subject: [PATCH] Continue even if ext_suffix is None --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index faca55e19..ab559776a 100644 --- a/setup.py +++ b/setup.py @@ -78,6 +78,9 @@ class Config(object): self.build_platlib = build_cmd.build_platlib self.ext_suffix = sysconfig.get_config_var("EXT_SUFFIX") + if self.ext_suffix is None: + self.ext_suffix = "" + self.root = "klayout" def libname_of(self, mod): @@ -85,7 +88,6 @@ class Config(object): Returns the library name for a given module The library name is usually decorated (i.e. "tl" -> "tl.cpython-35m-x86_64-linux-gnu.so"). """ - print return mod + self.ext_suffix def path_of(self, mod):