gmake_python_helpers

Helpers for using Python venv/pip-tools/black/pylama/... with GNU make
git clone https://ccx.te2000.cz/git/gmake_python_helpers
Log | Files | Refs | README

python-vars.mk (243B)


      1 ifndef _python_vars_included
      2 _python_vars_included:=1
      3 
      4 PYTHON_EXE?=python3
      5 
      6 # re-evaluate each time because there's no sensible way to check
      7 # whether the python interpreter changed
      8 $(eval $(shell $(PYTHON_EXE) -m gmake_python_helpers))
      9 endif