Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
More aggressively remove the contents of the previous protobuf instal…
Browse files Browse the repository at this point in the history
…lation.

Nucleus itself contains a copy of google/protobuf, and there is danger mixing
two different versions of protobuf together.

PiperOrigin-RevId: 251264527
  • Loading branch information
Genomics team in Google Brain authored and Copybara-Service committed Jun 3, 2019
1 parent b4970c2 commit bfa5687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nucleus/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def main():
i = args.index('--record')
record_file = args[i+1]

print('Removing old _message.cpython-*.so files')
os.system('rm -f ' + destination + '/google/protobuf/pyext/_message.cpython-*.so')
print('Removing old protobuf files')
os.system('rm -fR ' + destination + '/google/protobuf')

print('Installing Nucleus to ' + destination
+ ' with record file at ' + record_file)
Expand Down

0 comments on commit bfa5687

Please sign in to comment.