linuxdeploy-plugin-python icon indicating copy to clipboard operation
linuxdeploy-plugin-python copied to clipboard

Disable python path replace during pip install

Open anki-code opened this issue 5 years ago • 1 comments

Hi! Is there a way to avoid this behavior:

./xonsh.AppImage
export PIP_TARGET='/path/to/pip'
pip install xxh-xxh
head -n1 /path/to/pip/bin/xxh
#!/tmp/.mount_xonshenfUjo/usr/python/bin/python

Here is static path instead of #!/usr/bin/env python3. After I run AppImage next time this path will be invalid.

Because I'm running python from xonsh shell I already have the appropriate python path and replacement is not needed.

Thanks!

anki-code avatar Mar 21 '20 14:03 anki-code