File: plugin_definitions.py

package info (click to toggle)
enthought-traits-ui 2.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 15,204 kB
  • ctags: 9,623
  • sloc: python: 45,547; sh: 32; makefile: 19
file content (60 lines) | stat: -rw-r--r-- 2,141 bytes parent folder | download
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
#-------------------------------------------------------------------------------
#
#  Plugin definitions.
#
#  Written by: David C. Morrill
#
#  Date: 06/25/2006
#
#  (c) Copyright 2006 by David C. Morrill
#
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
#  Imports:
#-------------------------------------------------------------------------------

import enthought.developer

import enthought.envisage

import enthought.plugins.python_shell

from os.path \
    import abspath, dirname, join

#-------------------------------------------------------------------------------
#  Package locations:
#-------------------------------------------------------------------------------

envisage  = abspath( dirname( enthought.envisage.__file__  ) )
developer = abspath( dirname( enthought.developer.__file__ ) )
pythonshell = abspath( dirname( enthought.plugins.python_shell.__file__ ) )

#-------------------------------------------------------------------------------
#  The plugin definitions required by the application:
#-------------------------------------------------------------------------------

PLUGIN_DEFINITIONS = [
    # Envisage plugins:
    join( envisage, 'core/core_plugin_definition.py' ),
    join( envisage, 'resource/resource_plugin_definition.py' ),
    join( envisage, 'action/action_plugin_definition.py' ),
    join( envisage, 'workbench/workbench_plugin_definition.py' ),
    join( envisage, 'workbench/action/action_plugin_definition.py' ),

    # Enthought plugins:
    join( pythonshell, 'python_shell_plugin_definition.py' ),

    # Enthought developer tool plugins:
    join( developer, 'plugin_definition.py' ),
    join( developer, 'fbi_plugin_definition.py' ),
]

#-------------------------------------------------------------------------------
#  Plugin definitions that we want to import from but don't want as part of
#  the application:
#-------------------------------------------------------------------------------

INCLUDE = []