Commit a8ddd1e
committed
Update
- Default to downloading release at `sgr-osx-x86_64.tgz`
when on OS X. This downloads a tarball of the multi-file
executable creatd with `pyinstaller --onedir`, which means
a directory that includes the `sgr` executable and its
dependencies. This performs better than executables generated
with `--onefile` on OS X.
- Allow overriding and reverting to previous behavior (i.e.,
downloading the single-file executable which is still addressable
at `sgr-osx-x86_64` in the release bundle) with `FORCE_ONEFILE` flag
- Unzip the package to `~/.splitgraph/pkg/sgr` (overwrite if exists),
then symlink `~/.splitgraph/sgr -> ~/.splitgraph/pkg/sgr/sgr`, in
order to keep compatibility with existing scripts
- Note: The self-upgrade (`sgr upgrade`) code might still need
to be changed.install.sh to default to multi-file on OS X [artifacts]1 parent a705fd9 commit a8ddd1e
1 file changed
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
| |||
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
84 | 112 | | |
85 | 113 | | |
| 114 | + | |
| 115 | + | |
86 | 116 | | |
87 | 117 | | |
88 | 118 | | |
| |||
0 commit comments