# shell.py -- debugging shell for interacting with TeamTrack interface. # Gareth Rees, Ravenbrook Limited, 2000-08-07. # $Id: //info.ravenbrook.com/project/p4dti/branch/2000-11-29/bugzilla-resolution/code/python-teamtrack-interface/shell.py#1 $ # # Copyright 2000 Ravenbrook Limited. This document is provided "as is", # without any express or implied warranty. In no event will the authors # be held liable for any damages arising from the use of this document. # You may make and distribute copies and derivative works of this # document provided that (1) you do not charge a fee for this document or # for its distribution, and (2) you retain as they appear all copyright # and licence notices and document history entries, and (3) you append # descriptions of your modifications to the document history. # Set up paths so that the teamtrack and replicator modules can be loaded. The # relative path assumes that this script is being run from the teamtrack # development directory (master/code/teamtrack). import sys sys.path = sys.path + ['..\\build\\debug', '..\\replicator'] # Set up paths so that IDLE (a Python GUI) can be run on Ravenbrook's # development platforms. sys.path = sys.path + ['c:\\Program Files\\Python\\Tools\\idle', 'd:\\Program Files\\Python\\Tools\\idle'] # Run IDLE. import PyShell PyShell.main()