netgen/python/__init__.py

14 lines
387 B
Python
Raw Normal View History

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