File: __init__.py

package info (click to toggle)
netgen 6.2.2006%2Breally6.2.1905%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,552 kB
  • sloc: cpp: 137,165; tcl: 6,266; python: 876; sh: 411; makefile: 41
file content (17 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import sys

# import tkinter only if Netgen was configured with USE_GUI=ON
if @IMPORT_TKINTER@:
    import tkinter

_netgen_bin_dir=os.path.realpath(os.path.join(os.path.dirname(__file__),'..','@NETGEN_PYTHON_RPATH_BIN@'))
_netgen_lib_dir=os.path.realpath(os.path.join(os.path.dirname(__file__),'..','@NETGEN_PYTHON_RPATH@'))

if sys.platform.startswith('win'):
    os.environ['PATH'] += ';'+os.path.realpath(os.path.join(os.path.dirname(__file__),'../../../bin'))

del sys
del os

from . import libngpy