pip install requirements.txt
After updating dependencies, update the requirements file:
pip freeze > requirements.txt
TODO: consider using pipenv to manage dependencies.
Run an example question with:
python maximum-subarray-sum.py
Load it into an interactive shell with:
python -i maximum-subarray-sum.py
https://docs.python.org/3/index.html
I get a deprecation warning because direnv is not a recent enough version. It needs 2.34 or higher. direnv/direnv#1177 It's ok for now, though.
Packaging stats to check when it becomes available. https://direnv.net/docs/installation.html