Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed May 14, 2016
1 parent e06ab1a commit 42872bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion basesetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,12 @@ def build_static_extension(self, ext):
src_tree_output_dir = re.match('build.*(mdtraj.*)', output_dir).group(1)

if not os.path.exists(src_tree_output_dir):
# necessary for windows
os.makedirs(src_tree_output_dir)

if not os.path.exists(output_dir):
# necessary for windows
os.makedirs(output_dir)

assert os.path.isdir(src_tree_output_dir)

self.compiler.create_static_lib(objects,
Expand Down

0 comments on commit 42872bc

Please sign in to comment.