File: bare_app.py

package info (click to toggle)
python-envisageplugins 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,600 kB
  • sloc: python: 6,968; sh: 11; makefile: 8; lisp: 1
file content (36 lines) | stat: -rw-r--r-- 928 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


# Standard library imports.
import logging

# Enthought library imports.
from enthought.envisage.ui.workbench.api import WorkbenchApplication    
from enthought.envisage.core_plugin import CorePlugin
from enthought.envisage.ui.workbench.workbench_plugin import WorkbenchPlugin
from enthought.epdlab.plugins.code_editor.plugin import CodeEditorPlugin

# Logging.
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler(file('update_checker.log', 'w')))
logger.setLevel(logging.DEBUG)


def main():
    application = Application(
        id='Update Checker Tester', plugins=[UpdateChecker()]
    )

    application = WorkbenchApplication(
        id='update_checker_tester', name='Update Checker',
        plugins=[
            CorePlugin(),
            WorkbenchPlugin(),
            UpdateCheckerPlugin(
                
                ),
        ])
    application.run()

if __name__ == "__main__":
    main()