netgen/python/__init__.py

20 lines
417 B
Python
Raw Normal View History

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