Commit b7ba040e authored by markomernick's avatar markomernick
Browse files

Remove --no-preserve=all build_pip_package.py

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.
parent 428212c9
...@@ -63,13 +63,12 @@ def main(): ...@@ -63,13 +63,12 @@ def main():
# Copy the files. # Copy the files.
subprocess.check_call([ subprocess.check_call([
"cp", "-r", "cp", "-r", os.path.join(base_dir, "dragnn"), os.path.join(
"--no-preserve=all", os.path.join(base_dir, "dragnn"), os.path.join(
base_dir, "syntaxnet"), tmp_packaging base_dir, "syntaxnet"), tmp_packaging
]) ])
if args.include_tensorflow: if args.include_tensorflow:
subprocess.check_call( subprocess.check_call(
["cp", "-r", "--no-preserve=all", tensorflow_dir, tmp_packaging]) ["cp", "-r", tensorflow_dir, tmp_packaging])
shutil.copy( shutil.copy(
os.path.join(base_dir, "dragnn/tools/oss_setup.py"), os.path.join(base_dir, "dragnn/tools/oss_setup.py"),
os.path.join(tmp_packaging, "setup.py")) os.path.join(tmp_packaging, "setup.py"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment