spotify/dh-virtualenv
View on GitHub ↗ ★ 1,629 Python
Python virtualenvs in Debian packages
9 mentions on Hacker News by 8 people: 0 stories, 9 comments · first 2014-11-14 · latest 2021-11-16
20082026
-
there's https://github.com/spotify/dh-virtualenv
comment by keymone · 2021-11-16 · in Python: Please stop screwing over Linux distros -
…apt/debs, we then turn around and wrap that whl in a deb using Spotify's excellent dh-virtualenv: https://github.com/spotify/dh-virtualenv There's no expertise for Bazel in-house; when we run the build, it seems to fail all its cache hits…
comment by mikepurvis · 2021-05-21 · in What to do about GPU packages on PyPI? -
I recently came across this: https://github.com/spotify/dh-virtualenv For a system utility, you can still use virtualenvs. The launcher script just needs to use a shebang like: #!/usr/share/spiffyapp/venv/bin/python
comment by tonyarkles · 2017-07-17 · in Remacs – A community-driven port of Emacs to Rust -
Perhaps this is useful for you? https://github.com/spotify/dh-virtualenv
comment by Spiritus · 2016-06-12 · in Show HN: Virtualenv-mv – Move (rename) Python virtualenvs -
…package (debian/rules): override_dh_virtualenv: dh_virtualenv -p myproj --use-system-packages [1] https://github.com/spotify/dh-virtualenv [2] https://packages.debian.org/jessie/python/python-virtualenv
comment by rkv · 2016-03-08 · in Python Patterns (2013) -
Note that the base path /usr/share/python (that dh-virtualenv ships with) is a bad choice; see https://github.com/spotify/dh-virtualenv/issues/82 for a discussion. You can set a different base path in debian/rules with export…
comment by perlgeek · 2015-07-10 · in How We Deploy Python Code -
You can build debian packages that way; dh-virtualenv ( https://github.com/spotify/dh-virtualenv ) makes it quite easy to pack a full virtualenv into a .deb.
comment by perlgeek · 2015-06-26 · in Pip -t: A simple and transparent alternative to virtualenv in Python -
…https://github.com/kevinconway/rpmvenv * [3] https://pex.readthedocs.org/en/latest/ * Another tool: https://github.com/spotify/dh-virtualenv
comment by mtrn · 2015-06-25 · in Pip -t: A simple and transparent alternative to virtualenv in Python -
You could also try virtualenvs inside Debian packages: https://github.com/spotify/dh-virtualenv One reason to keep virtualenvs is that the system Python (VM or container) includes extra Python packages that your app may or may not need. If…
comment by grosskur · 2014-11-14 · in After Docker: Unikernels and Immutable Infrastructure