~ubuntu-branches/ubuntu/karmic/gears/karmic

« back to all changes in this revision

Viewing changes to gears/test/runner/config.py

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Lesicnik
  • Date: 2009-04-30 19:15:25 UTC
  • Revision ID: james.westby@ubuntu.com-20090430191525-0790sb5wzg8ou0xb
Tags: upstream-0.5.21.0~svn3334+dfsg
ImportĀ upstreamĀ versionĀ 0.5.21.0~svn3334+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import os
 
2
 
 
3
class Config:
 
4
  """ Contains constants with values that can change frequently. 
 
5
  
 
6
  Lists some of the files that can't be served from the root directory and
 
7
  provide path to the files relative to server root directory. Usually 
 
8
  thirdparty libraries fall into this category, and we decided to take this 
 
9
  approach instead of copying files and keeping them in sync manually.
 
10
  """
 
11
  SPECIAL_URL_TO_FILE_MAPPINGS = {
 
12
    "gears_init.js": "../sdk/gears_init.js",
 
13
    "json_noeval.js": "../../third_party/jsonjs/json_noeval.js"
 
14
  }
 
15
  
 
16
  # List of paths to libraries that are bundled with runner and
 
17
  # need to be available in the path before the bootstrap is invoked.
 
18
  ADDITIONAL_PYTHON_LIBRARY_PATHS = [
 
19
    os.path.join(os.path.dirname(__file__), '../../../third_party'),
 
20
    os.path.join(os.path.dirname(__file__), '../../../third_party/pexpect')
 
21
  ]