~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/Debugger/Config.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
Module defining the different Python types and their display strings.
8
8
"""
9
9
 
10
 
from DebugClients.Python.Config import ConfigVarTypeStrings
 
10
from DebugClients.Python.DebugConfig import ConfigVarTypeStrings
11
11
    
12
12
try:
13
 
    from qt import Qt, QT_TRANSLATE_NOOP
 
13
    from PyQt4.QtCore import QT_TRANSLATE_NOOP
14
14
    
15
15
    # Variables type definition
16
16
    ConfigVarTypeDispStrings = [
55
55
            'Class Method', 'Class Property', 'Generator', 'Function', \
56
56
            'Builtin Function', 'Code', 'Module', 'Ellipsis', \
57
57
            'Traceback', 'Frame', 'Other']
58
 
 
59
 
#######################################################
60
 
## Configuration settings for the debug clients
61
 
#######################################################
62
 
 
63
 
import DebugClients.Python.DebugClientCapabilities
64
 
 
65
 
ClientDefaultCapabilities = {
66
 
    "Python" : DebugClients.Python.DebugClientCapabilities.HasAll,
67
 
    "Ruby"   : DebugClients.Python.DebugClientCapabilities.HasDebugger | \
68
 
               DebugClients.Python.DebugClientCapabilities.HasShell | \
69
 
               DebugClients.Python.DebugClientCapabilities.HasInterpreter | \
70
 
               DebugClients.Python.DebugClientCapabilities.HasCompleter,
71
 
}
72
 
 
73
 
ClientTypeAssociations = {
74
 
    ".py" : "Python",
75
 
    ".rb" : "Ruby",
76
 
}