Skip to content

Commit

Permalink
Remove --no-preserve=all build_pip_package.py
Browse files Browse the repository at this point in the history
This commit removes --no-preserve=all from
syntaxnet/dragnn/tools/build_pip_package.py. It was causing issues for
OSX developers, as that option is not available on OSX.
  • Loading branch information
markomernick committed May 3, 2017
1 parent 428212c commit b7ba040
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions syntaxnet/dragnn/tools/build_pip_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,12 @@ def main():

# Copy the files.
subprocess.check_call([
"cp", "-r",
"--no-preserve=all", os.path.join(base_dir, "dragnn"), os.path.join(
"cp", "-r", os.path.join(base_dir, "dragnn"), os.path.join(
base_dir, "syntaxnet"), tmp_packaging
])
if args.include_tensorflow:
subprocess.check_call(
["cp", "-r", "--no-preserve=all", tensorflow_dir, tmp_packaging])
["cp", "-r", tensorflow_dir, tmp_packaging])
shutil.copy(
os.path.join(base_dir, "dragnn/tools/oss_setup.py"),
os.path.join(tmp_packaging, "setup.py"))
Expand Down

0 comments on commit b7ba040

Please sign in to comment.