netgen/python/__init__.py
2017-02-01 11:06:43 +01:00

15 lines
399 B
Python

import os
from sys import path
from sys import platform as __platform
if __platform.startswith('linux'):
path.append(os.path.dirname(__file__) + '/../../..')
if __platform.startswith('win'):
path.append(os.path.dirname(__file__) + '/../../../bin')
if __platform.startswith('darwin'):
path.append(os.path.dirname(__file__) + '/../../../../../MacOS')
import libngpy
del environ
del path