PYTHON_VERSION ?= 2.4.6
PYTHON_URL ?= http://www.python.org/ftp/python/$(PYTHON_VERSION)/Python-$(PYTHON_VERSION).tgz
SETUPTOOLS_URL ?= http://peak.telecommunity.com/dist/ez_setup.py
+PYTHON_DIR ?= python
###########################################################################
-PYTHON_DIR ?= python
-
PYTHON = $(BASEDIR)/$(PYTHON_DIR)/bin/python
EASY_INSTALL = $(BASEDIR)/$(PYTHON_DIR)/bin/easy_install
PIP = $(BASEDIR)/$(PYTHON_DIR)/bin/pip
@$(install) zc.buildout
.gitignore::
- @$(gitignore) /python/
+ @$(gitignore) "*.pyc"
+ @$(gitignore) "/python/"
.env::
@$(env) PATH $(BASEDIR)/$(PYTHON_DIR)/bin
init-nonet: PIP_OPTS = --no-index $(patsubst %,--find-link=file://$(BASEDIR)/$(DLCACHE)/pip/%,$(PIP_CACHE_FILES))
-help::
+fullhelp::
@echo " python-rebuild"
@echo " recompile python from source. This may be needed after"
@echo " upgrading the host distribution."
- @echo
\ No newline at end of file
+ @echo
+
+varhelp::
+ @echo " PYTHON_VERSION ($(PYTHON_VERSION))"
+ @echo " Python version to download and compile."
+ @echo
+ @echo " PYTHON_URL ($(PYTHON_URL))"
+ @echo " URL to download python from. The default value is automatically"
+ @echo " generated from PYTHON_VERSION."
+ @echo
+ @echo " SETUPTOOLS_URL ($(SETUPTOOLS_URL))"
+ @echo " URL to download 'ez_setup.py' from."
+ @echo
+ @echo " PYTHON_DIR ($(PYTHON_DIR))"
+ @echo " Name of subdirectory for the local python installation."
+ @echo