Skip to content

Instantly share code, notes, and snippets.

@bak1an
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bak1an/4a428fc90ff37fff6630 to your computer and use it in GitHub Desktop.
Save bak1an/4a428fc90ff37fff6630 to your computer and use it in GitHub Desktop.
geos_epel_6
# thanks to
# https://stackoverflow.com/questions/21251780/shapely-and-geos-break-in-distance-method
from shapely.geometry import Point
print Point(0,0).distance(Point(1,1))
FROM centos:centos6
RUN yum localinstall -y http://fedora.ip-connect.vn.ua/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
RUN yum install -y gdal geos python-devel python-pip
RUN yum groupinstall -y "Development Tools"
RUN pip install cython
RUN pip install shapely
ADD crash.py /crash.py
CMD python /crash.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment