Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
afe2e68b
Commit
afe2e68b
authored
May 03, 2017
by
zora tung
Committed by
GitHub
May 03, 2017
Browse files
Merge pull request #1438 from tensorflow/remove_no_preserve
Remove --no-preserve=all build_pip_package.py
parents
4cc1fa0f
b7ba040e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
syntaxnet/dragnn/tools/build_pip_package.py
syntaxnet/dragnn/tools/build_pip_package.py
+2
-3
No files found.
syntaxnet/dragnn/tools/build_pip_package.py
View file @
afe2e68b
...
@@ -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"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment