Add a PyMOL builder to SCons and generalize PYMOL_PATH setup.
[thesis.git] / tex / src / package / SConscript
1 import os.path
2
3 # Get the passed in environment.
4 Import('env')
5
6 # Copy all non-SConscript files into the parent directory.
7 packages = []
8 for path in Glob('*'):
9     if str(path) is not 'SConscript':
10         packages.append(env.Command(
11                 os.path.join('..', str(path)), path,
12                 Copy('$TARGET', '$SOURCE')))
13 env.Alias('extra-packages', packages)
14
15 # Pass back the modified environment.
16 Return('env')