~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/ftpmaster-tools/_pythonpath.py

  • Committer: James Henstridge
  • Date: 2008-06-19 07:57:48 UTC
  • mto: This revision was merged to the branch mainline in revision 6527.
  • Revision ID: james.henstridge@canonical.com-20080619075748-7sfyitmxh4zk27jp
* Make sure STORM_CEXTENSIONS is set for scripts and cronscripts.
* Don't bother adding sourcecode/zope/src and sourcecode/twisted to the 
  PYTHONPATH, since the relevant modules are in lib/.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
sys.path.insert(0, os.path.join(
8
8
    os.path.dirname(__file__), os.pardir, os.pardir, 'lib'))
9
9
 
 
10
# Enable Storm's C extensions
 
11
os.environ['STORM_CEXTENSIONS'] = '1'
 
12