Commit ad068a64 authored by The GAFAM tech collective's avatar The GAFAM tech collective
Browse files

Update Makefile: Use Python3, Use bump2version

parent 648636f9
...@@ -23,15 +23,17 @@ gettext-to-json: ...@@ -23,15 +23,17 @@ gettext-to-json:
# bumpversion # bumpversion
# =========== # ===========
$(eval venvpath := .venv2) $(eval venvpath := .venv)
$(eval bumpversion := $(venvpath)/bin/bumpversion) $(eval pip := $(venvpath)/bin/pip)
$(eval python := $(venvpath)/bin/python)
$(eval bump2version := $(venvpath)/bin/bump2version)
virtualenv: virtualenv:
@test -e $(venvpath)/bin/python || `command -v virtualenv` --python=`command -v python` --no-site-packages $(venvpath) @test -e $(python) || python3 -m venv --system-site-packages $(venvpath)
bumpversion: virtualenv bumpversion: virtualenv
@$(venvpath)/bin/pip install bumpversion @$(venvpath)/bin/pip install bump2version
$(bumpversion) $(bump) $(bump2version) $(bump)
# ======= # =======
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment