News for hackers. Stuff that matters.
Re:Learning Go as a Python Developer: The Good and the Bad by linsomniac on Monday July 18, 2022 @05:53PM (#32144423)
"Vendoring" means including the library in your package. So instead of listing it in requirements.txt, you copy the code of the library.
Re:Learning Go as a Python Developer: The Good and the Bad by giantrobot on Monday July 18, 2022 @07:32PM (#32145521)
You can get that by bundling up your venv. When you install a package is a venv it installs it into that venv rather than the system. As far as the venv is concerned it is the system Python. Unfortunately passing around a venv can be problematic, say between Mac and Linux or between different architectures when binaries are involved.