Skip to content

Commit

Permalink
Copy full source directory (including sub directories) when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Aug 8, 2015
1 parent 3470a10 commit 24033ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions publisher/build_paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import tempfile
import glob
import shutil
from distutils import dir_util

from writer import writer
from conf import papers_dir, output_dir
Expand Down Expand Up @@ -39,9 +40,7 @@

def rst2tex(in_path, out_path):

options.mkdir_p(out_path)
for file in glob.glob(os.path.join(in_path, '*')):
shutil.copy(file, out_path)
dir_util.copy_tree(in_path, out_path)

base_dir = os.path.dirname(__file__)
scipy_status = os.path.join(base_dir, '_static/status.sty')
Expand Down

0 comments on commit 24033ff

Please sign in to comment.