shiv icon indicating copy to clipboard operation
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.

Results 66 shiv issues
Sort by recently updated
recently updated
newest added

When I package a python package which has a dependency on both `zope.event` and `zope.interface`, `zope.event` is not importable. Example case: ``` [15:05:06] λ shiv -o ~/bin/zope_event zope.event zope.interface --upgrade...

Hi, I've run into a corner case when trying to package an application that uses tensorflow with shiv. You can reproduce the issue by creating a python 3.6 virtual environment...

Following the Django zipapp walk through in the documentation [here](https://shiv.readthedocs.io/en/latest/django.html) produces NotADirectoryError: [Errno 20] for Django 3.1

Minimal reproduction: https://github.com/Thirdegree/shiv-issue-reproduction Output when built with shiv=0.5.0: ``` $ pip install 'shiv>=0.5.0' [...] $ shiv -c example . -o my-other-example [...] $ ./my-other-example ['/home//.shiv/my-other-example_4e97fbfbe05adc1827d2cf3da93d0600d4eb83fdb7b83d1230c1127d42c9e4e0/site-packages/bin/example'] ``` This seems to only...

Has there been any investigation done into whether/how to support niceties from the normal Python REPL like tab completion and command history? I've tried using `import site; site.enablerlcompleter()` and `import...

I currently have the problem that I want to move my cache directory relative to the executable path (sys.argv[0]). This is needed because I want to have a shiv package...

If you want more of those, I have a few in the queue…

This makes the zipapps work a little more like virtualenv. It uses the same default as virtualenv (no system site packages) which is not backwards compatible. To retain the current...

This my first attempt and may well err on the side of being too verbose. Appreciate any feedback on how to make it better. - Show the args shiv will...

Currently this is a minimal refactoring that allows calling an API to build. I've done minimal testing, but mostly I want this out there so we can discuss if this...