netgen/python/__init__.py

24 lines
486 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 *
2016-11-04 16:14:52 +05:00
import libngpy
# from libngpy import *
# import libngpy
2016-11-04 16:14:52 +05:00
# from . import csg
# from . import meshing
# from . import geom2d
2014-10-02 18:29:55 +06:00
2014-10-01 16:31:22 +06:00
del environ
del path