From de4c0eec71a7594c337d0e47997ba930df38c541 Mon Sep 17 00:00:00 2001 From: Rafael Hautekiet Date: Mon, 13 Aug 2018 15:34:08 +0200 Subject: [PATCH] Ignore major version in order to support older python versions --- openctm/openctm.py | 2 +- openctm/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openctm/openctm.py b/openctm/openctm.py index 347023a..b01e785 100644 --- a/openctm/openctm.py +++ b/openctm/openctm.py @@ -95,7 +95,7 @@ # depending on os chose you binary ... if sys.platform == 'darwin': _ctm_lib_path = os.path.join(os.path.dirname(__file__), 'libs/libopenctm.dylib') -elif sys.platform == 'linux': +elif sys.platform.startswith('linux'): _ctm_lib_path = os.path.join(os.path.dirname(__file__), 'libs/libopenctm.so') else: raise NotImplementedError(sys.platform) diff --git a/openctm/version.py b/openctm/version.py index 8412cb1..d163f47 100644 --- a/openctm/version.py +++ b/openctm/version.py @@ -1 +1 @@ -__version__ = '1.0.5' \ No newline at end of file +__version__ = '1.0.6' \ No newline at end of file