File: enshell_client.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 (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")