[Examples] Python: move Python constants to Scripts/Makefile.python

This commit is contained in:
Stefan Berger
2020-04-28 10:30:17 -04:00
committed by Dmitrii Kuvaiskii
parent f7f89c2ed2
commit 741f5f7cd4
3 changed files with 12 additions and 20 deletions
+2 -10
View File
@@ -9,16 +9,8 @@
include ../../Scripts/Makefile.configs
# Constants
# By default, Graphene runs the system Python 3.5 executable.
PYTHONVERSION ?= python3.5
PYTHONPATH ?= /usr
PYTHONHOME := $(PYTHONPATH)/lib/$(PYTHONVERSION)
PYTHONEXEC := $(PYTHONPATH)/bin/$(PYTHONVERSION)
PYTHONDISTHOME := $(PYTHONPATH)/lib/python3/dist-packages
PYTHONSHORTVERSION := $(subst python,,$(subst .,,$(PYTHONVERSION)))
# Python constants are declared in Makefile.python
include ../../Scripts/Makefile.python
# Relative path to Graphene root
GRAPHENEDIR ?= ../..