pyplusplus.gui.ui_runner

Package pyplusplus :: Package gui :: Module ui_runner |

# Source Code for Module pyplusplus.gui.ui_runner

     1  #! /usr/bin/python
     2  # Copyright 2004-2008 Roman Yakovenko.
     3  # Distributed under the Boost Software License, Version 1.0. (See
     4  # accompanying file LICENSE_1_0.txt or copy at
     5  # http://www.boost.org/LICENSE_1_0.txt)
     6
     7  """Py++ user interface runner
     8
     9  The main purpose of this module is to run ui.py from development tree, so the
    10  only work it does is adding new paths to sys.path variable.
    11  """
    12
    13  import os
    14  import sys
    15
    16  #pygccxml
    17  sys.path.append( os.path.abspath( './../../../pygccxml_dev' ) )
    18  #pyplusplus
    19  sys.path.append( os.path.abspath( './../..' ) )
    20
    21  import ui
    22  if __name__ == '__main__':
    23      ui.show_demo()
    24