[hg] galaxy 3493: unset PYTHONPATH when dist-scrambling since ev...
details: http://www.bx.psu.edu/hg/galaxy/rev/a532f6d868a6 changeset: 3493:a532f6d868a6 user: Nate Coraor <nate@bx.psu.edu> date: Tue Mar 09 09:48:00 2010 -0500 description: unset PYTHONPATH when dist-scrambling since even with -ES, use_setuptools() will read PYTHONPATH and site-packages. Fixes scrambling docutils when another docutils is in your PYTHONPATH or site-packages. diffstat: lib/galaxy/eggs/dist.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r eee78dcdc7ec -r a532f6d868a6 lib/galaxy/eggs/dist.py --- a/lib/galaxy/eggs/dist.py Mon Mar 08 14:35:56 2010 -0500 +++ b/lib/galaxy/eggs/dist.py Tue Mar 09 09:48:00 2010 -0500 @@ -23,7 +23,7 @@ def run_scramble_script( self ): log.warning( "%s(): Beginning build" % sys._getframe().f_code.co_name ) # subprocessed to sterilize the env - cmd = "ssh %s 'cd %s; %s -ES %s'" % ( self.build_host, self.buildpath, self.python, 'scramble.py' ) + cmd = "ssh %s 'cd %s; PYTHONPATH= %s -ES %s'" % ( self.build_host, self.buildpath, self.python, 'scramble.py' ) log.debug( '%s(): Executing:' % sys._getframe().f_code.co_name ) log.debug( ' %s' % cmd ) p = subprocess.Popen( args = cmd, shell = True )
participants (1)
-
Greg Von Kuster