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
+Shapely should be downloaded and extracted:
+ wget http://pypi.python.org/packages/source/S/Shapely/Shapely-1.0.14.tar.gz
+ tar -xvzf Shapely-1.0.14.tar.gz
+ mv Shapely-1.0.14 Shapely
+ rm Shapely-1.0.14.tar.gz
+
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
+SHAPELY_URL=http://pypi.python.org/packages/source/S/Shapely/Shapely-1.0.14.tar.gz
# Root folder for the shapefiles.
TIGER_ROOT=http://www2.census.gov/geo/tiger/TIGER2009
# 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; \
+ if [ ! -d lib/Shapely ]; then \
+ wget -O shapely.tar.gz $(SHAPELY_URL); \
+ tar -xvzf shapely.tar.gz -C lib/ ; \
+ rm shapely.tar.gz; \
+ mv lib/Shapely* lib/Shapely; \
fi;