Commit f4acd5dd authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

check if running on osx

parent f6a0a5bd
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment