Skip to content

Commit

Permalink
Set SETUPTOOLS_SCM_PRETEND_VERSION=3.9.0 for python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidy22 committed Jun 17, 2022
1 parent d0e052f commit f8f968a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ install-guake:
@echo "#############################################################"
@if [ "$(DESTDIR)" = "" ]; then $(PYTHON_INTERPRETER) -m pip install -r requirements.txt; fi

@if [ `python -c "import sys; print(sys.version_info[0])"` -eq 2 ]; then SETUPTOOLS_SCM_PRETEND_VERSION=3.9.0; fi

@rm -f guake/paths.py.dev
@if [ -f guake/paths.py ]; then mv guake/paths.py guake/paths.py.dev; fi
@cp -f guake/paths.py.in guake/paths.py
Expand Down

0 comments on commit f8f968a

Please sign in to comment.