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 = []
|