Created a README in the "lib" directory explaining the Shapely checkout procedure.
--- /dev/null
+Third-party libraries are stored here. Currently, Shapely is the only
+one we're using which isn't available through package managers.
+
+Shapely should be pulled from Subversion:
+
+ svn co http://svn.gispython.org/svn/gispy/Shapely/trunk Shapely
+
+This will probably be handled by the makefile.
DB_NAME=census
DB_USER=postgres
TIGER_SRID=4269
+SHAPELY_URL=http://svn.gispython.org/svn/gispy/Shapely/trunk
# Root folder for the shapefiles.
TIGER_ROOT=http://www2.census.gov/geo/tiger/TIGER2009
# Necessary to run test/data without prerequisites.
#
-.PHONY : test data
+.PHONY : test data lib
# The default task, since it comes first in the list.
#
-all: clean test
+all: clean lib test
test:
./bin/run_tests
+# Download or check out any third-party libraries.
+lib:
+ if [ -d lib/Shapely ]; then \
+ cd lib/Shapely; \
+ svn update; \
+ else \
+ svn co $(SHAPELY_URL) lib/Shapely; \
+ fi;
+
+
# Remove byte-compiled python code.
#
clean: