netgen/python/__init__.py

14 lines
387 B
Python
Raw Normal View History

import os
2014-10-01 10:31:22 +00:00
from sys import path
2014-10-02 12:29:55 +00:00
from sys import platform as __platform
2016-02-08 15:53:16 +01:00
if __platform.startswith('linux'):
path.append(os.path.dirname(__file__) + '/../../..')
2014-10-08 13:37:37 +00:00
if __platform.startswith('win'):
path.append(os.path.dirname(__file__) + '/../../../bin')
2016-02-08 15:53:16 +01:00
if __platform.startswith('darwin'):
path.append(os.path.dirname(__file__) + '/../../../../../MacOS')
2014-10-01 10:31:22 +00:00
2016-11-04 12:14:52 +01:00
import libngpy
2014-10-01 10:31:22 +00:00
del path