Browse Source

Add sketchy build script

main
Luke Murphy 5 years ago
parent
commit
60275a475e
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 1
      .gitignore
  2. 12
      build.sh

1
.gitignore

@ -8,3 +8,4 @@ index.html
pip-wheel-metadata/ pip-wheel-metadata/
*.pdf *.pdf
*.css *.css
*.pyz

12
build.sh

@ -0,0 +1,12 @@
#!/bin/bash
# Ultra wild west single binary compiling
# https://github.com/linkedin/shiv
shiv --output-file=distribusi.pyz \
--site-packages=.venv/lib/python3.7/site-packages/ \
--entry-point=distribusi.cli.cli_entrypoint \
--python="/usr/bin/env python3" \
--compressed \
--compile-pyc \
.
Loading…
Cancel
Save