Skip to content

Commit

Permalink
put required_files to lib/ as in 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jflatow committed May 2, 2011
1 parent 3ee4841 commit 76aa82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/disco/worker/classic/worker.py
Expand Up @@ -221,7 +221,7 @@ def defaults(self):

def jobenvs(self, job, **jobargs):
envs = super(Worker, self).jobenvs(job, **jobargs)
envs['LD_LIBRARY_PATH'] = '.'
envs['LD_LIBRARY_PATH'] = 'lib'
return envs

def jobzip(self, job, **jobargs):
Expand All @@ -235,7 +235,7 @@ def get(key):
jobzip.writestr(path, bytes)
else:
for path in get('required_files'):
jobzip.write(path, os.path.basename(path))
jobzip.write(path, os.path.join('lib', os.path.basename(path)))
if get('required_modules') is None:
self['required_modules'] = find_modules([obj
for key in self
Expand Down

0 comments on commit 76aa82f

Please sign in to comment.