Hacker News new | ask | show | jobs
by dharmab 2805 days ago
Plop a requirements.txt file down in each repo. Use direnv or a similar tool to automatically manage virtualenvs on the local dev machines. In your container, don't use virtualenv; just add requirements.txt to the container and run pip install -r requirements.txt

See the linked code at the bottom of the page

1 comments

There are so many places where this will never work. For example, if you're using openssl and you're system is missing the header files.
Which is why I run and debug locally with an interactive container; installing the packages locally is just for my editor autocompletion.