shiv
shiv copied to clipboard
shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.
Hi, all! I really enjoy working with Shiv, and have most recently used it to bundle some internal developer tooling for my team. After an update, there's a several-second delay...
…Rather than use a static path like `~/.cache/` (via `--root`) or `~/.shiv` (the default). The added shiv build option `--platform-root` will enable runtime determination of the platform- and executable-appropriate cache...
When run from within a zip file (such as by directly importing the shiv wheel or within a traditional zipapp), the bootstrap files are stored with temporary file names (From...
Fixes #247
I am using shiv to create `.pyz` files for easy Python code execution on Windows. My usage is like this: ```powershell shiv --site-packages dist --compressed -p 'py -3.9' -o myapp.pyz...
I'm moving to shiv from a home-grown zipfile packaging script. Really enjoy the simplicity and control of this project, but wanted a way to reuse the logic in main() of...
Hi, I am trying to use shiv to deploy an executable for an asyncio based app using poetry as the build tool and I am running into a coroutine not...
More precisely: 1. if $SHIV_ROOT is set, use it 2. if --root is set, use it 3. if ~/.shiv already exists, use it 4. on Windows: %LOCALAPPDATA%\shiv\cache 5. on macOS:...
If you use the `-c console_script` option or the `SHIV_CONSOLE_SCRIPT` variable, and the console script file returns normally (it does not throw or call sys.exit), running the pyz will print...
Fixes #240. For manual testing: see the example in #240. ```shellsession $ shiv . -c helloworld -o out.pyz [...] $ ./out.pyz Hello, world! $ echo $? 0 ``` Success! No...