Hacker News new | ask | show | jobs
by marius_k 1254 days ago
My flow/boilerplate for apps:

  ./scripts/create-venv.sh          # create venv using specific python version, update pip, wheel, setuptools, install requirements.txt
  ./scripts/freeze-requirements.sh  # create tmp venv with requirements-base.txt and pip freeze > requirements.txt
  ./requirements-base.txt           # dependencies with loose versions
  ./requirements.txt                # frozen/locked dependencies