REACTOR=
+ifneq ($(INCLUDE_DIRS),)
+INCLUDE_DIRS_ARG = -I$(INCLUDE_DIRS)
+endif
+ifneq ($(LIBRARY_DIRS),)
+LIBRARY_DIRS_ARG = -L$(LIBRARY_DIRS)
+endif
+
PLAT = $(strip $(shell python -c "import sys ; print sys.platform"))
ifeq ($(PLAT),win32)
# The platform is Windows with cygwin build tools and the native Python interpreter.
touch .built
build:
- $(PYTHON) ./setup.py build_ext -i
+ $(PYTHON) ./setup.py build_ext -i $(INCLUDE_DIRS_ARG) $(LIBRARY_DIRS_ARG)
chmod +x bin/tahoe
# 'make install' will do the following:
+ GNU make (build tool)
+ Python 2.4 or newer (tested against 2.4, and 2.5.1), including
- development headers (language)
+ development headers i.e. "Python.h" (language)
http://python.org/