Last active
August 29, 2015 14:09
-
-
Save bak1an/4a428fc90ff37fff6630 to your computer and use it in GitHub Desktop.
geos_epel_6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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