Package moap :: Package configure :: Module configure
[hide private]
[frames] | no frames]

Module configure

source code

configure-time variables for installed or uninstalled operation

Code should run

>>> from moap.configure import configure

and then access the variables from the configure module. For example:

>>> print configure.version
Variables [hide private]
  __thisdir = '/build/moap-5TInJZ/moap-0.2.7/moap/configure'
  config_dict = {'isinstalled': False, 'version': '0.2.7'}
  __package__ = 'moap.configure'
  dictionary = {'__builtins__': {'ArithmeticError': <type 'excep...
boolean isinstalled = False
whether an installed version is being run
  key = 'isinstalled'
  value = False
string version = '0.2.7'
moap version number
Variables Details [hide private]

dictionary

Value:
{'__builtins__': {'ArithmeticError': <type 'exceptions.ArithmeticError\
'>,
                  'AssertionError': <type 'exceptions.AssertionError'>\
,
                  'AttributeError': <type 'exceptions.AttributeError'>\
,
                  'BaseException': <type 'exceptions.BaseException'>,
                  'BufferError': <type 'exceptions.BufferError'>,
...