Browse Source

Add sketchy build script

pull/5/head
decentral1se 2 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/
*.pdf
*.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