Skip to content
Snippets Groups Projects
Commit f4acd5dd authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

check if running on osx

parent f6a0a5bd
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,10 @@ def islinux():
return PLATFORM.startswith("linux")
def isosx():
return PLATFORM.startswith("darwin")
def to_local_sep(filename):
return filename.replace(OBJECT_DIRSEP, os.path.sep)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment