File: enshell_client.py

package info (click to toggle)
python-envisageplugins 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,616 kB
  • ctags: 1,970
  • sloc: python: 7,047; makefile: 11; sh: 11; lisp: 1
file content (16 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Standard library imports
import os

# Local imports
from enthought.plugins import remote_editor
from enthought.plugins.remote_editor.communication.client import Client


class EnshellClient(Client):
    """ A Client that is configured to spawn servers using the config file
        for this application.
    """

    server_prefs = (os.path.join(remote_editor.__path__[0], 
                    "preferences.ini"),
                    "enthought.remote_editor")