netgen/python/__init__.py

20 lines
417 B
Python
Raw Normal View History

2014-10-01 10:31:22 +00:00
from os import environ
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'):
2014-10-08 13:37:37 +00:00
path.append(environ['NETGENDIR']+'/../lib')
if __platform.startswith('win'):
path.append(environ['NETGENDIR'])
2016-02-08 15:53:16 +01:00
if __platform.startswith('darwin'):
path.append(environ['NETGENDIR'])
2014-10-01 10:31:22 +00:00
2016-02-08 15:53:16 +01:00
# from libngpy import *
import libngpy
2014-10-02 12:29:55 +00:00
from . import csg
from . import meshing
2014-10-01 10:31:22 +00:00
del environ
del path