File: __init__.py

package info (click to toggle)
med-fichier 4.0.0+repack-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 55,660 kB
  • sloc: cpp: 679,525; ansic: 72,977; python: 37,983; fortran: 12,925; sh: 6,821; f90: 5,531; makefile: 5,136; tcl: 216; xml: 173
file content (83 lines) | stat: -rw-r--r-- 1,745 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#                                               -*- Python -*-
#
#  __init__.py
#

"""
    MED --- _____ 
    ===================================================

    Documentation is available online at http://www.

    Contents
    --------
      Module MED imports all the functions from the MED modules.

    Available subpackages
    ---------------------

      medenum
      medequivalence
      medfamily
      medfield
      medfile
      medfilter
      medinterp
      medlibrary
      medlink
      medlocalization
      medmesh
      medparameter
      medprofile

    Utility tools
    -------------

    Environment variables
    ---------------------
    
"""
from __future__ import absolute_import

import os
import sys
import platform
import warnings
if platform.system() == "Windows":
    # the following line will be modified by the windows installer
    MED_PYTHON_PATH = ""
    if MED_PYTHON_PATH != "":
        # set Path to MED module
        os.environ['PATH'] = MED_PYTHON_PATH + ';' + os.environ['PATH']


# check if interactive mode
if not hasattr(sys, 'ps1'):
    try:
        # ipython does not define ps1
        __IPYTHON__
    except:
        # Reset the default Crtl-C behavior
        import signal
        try:
            signal.signal(signal.SIGINT, signal.SIG_DFL)
        except ValueError:
            pass

from .medenum import *
from .medequivalence import *
from .medfamily import *
from .medfield import *
from .medfile import *
from .medfilter import *
from .medinterp import *
from .medlibrary import *
from .medlink import *
from .medlocalization import *
from .medmesh import *
from .medparameter import *
from .medprofile import *


# define the version
#__version__ = PlatformInfo.GetVersion()