-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSConstruct
30 lines (25 loc) · 1.15 KB
/
SConstruct
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Preliminaries
import os
import sys
import atexit
import source.lib.JMSLab as jms
sys.path.append('config')
sys.dont_write_bytecode = True # Don't write .pyc files
env = Environment(ENV = {'PATH' : os.environ['PATH']},
IMPLICIT_COMMAND_DEPENDENCIES = 0,
BUILDERS = {'R' : Builder(action = jms.build_r),
'Tablefill' : Builder(action = jms.build_tables),
'Stata' : Builder(action = jms.build_stata),
'Matlab' : Builder(action = jms.build_matlab),
'Python' : Builder(action = jms.build_python),
'Lyx' : Builder(action = jms.build_lyx),
'Latex' : Builder(action = jms.build_latex)})
env.Decider('MD5-timestamp') # Only computes hash if time-stamp changed
Export('env')
jms.start_log('develop', '')
SConscript('source/derived/SConscript')
SConscript('source/analysis/SConscript')
SConscript('source/tables/SConscript')
SConscript('source/figures/SConscript')
SConscript('source/paper/SConscript')
SConscript('source/talk/SConscript')