Skip to content

Commit

Permalink
Ignore major version in order to support older python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lejafar committed Aug 13, 2018
1 parent dfb4dc7 commit de4c0ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openctm/openctm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion openctm/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.5'
__version__ = '1.0.6'

0 comments on commit de4c0ee

Please sign in to comment.