mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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.
This commit is contained in:
@@ -23,7 +23,7 @@ class DistScrambleEgg( ScrambleEgg ):
|
||||
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 )
|
||||
|
||||
Reference in New Issue
Block a user