Skip to content

Commit

Permalink
dvc: add hooks for pyinstall
Browse files Browse the repository at this point in the history
Pyinstall can't resolve all dependencies on it's own, so
we need to help it with hoolks. From now on, we could
try to use pyinstall on Windows and MacOS to see if will
build standalone binaries.
  • Loading branch information
efiop committed Jun 1, 2017
1 parent 111007c commit 315c093
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ build/
dist/

*.egg-info/

hooks/*.pyc
2 changes: 2 additions & 0 deletions hooks/hook-google.cloud.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-core')
2 changes: 2 additions & 0 deletions hooks/hook-google.cloud.storage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-storage')

0 comments on commit 315c093

Please sign in to comment.