Skip to content

Commit

Permalink
fix installer for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Oct 26, 2017
1 parent a0ca278 commit 3755c3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from distutils.core import setup
import io
import os

def _get_description():
try:
path = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(path, encoding='utf-8') as f:
with io.open(path, encoding='utf-8') as f:
return f.read()
except IOError:
return ''
Expand All @@ -13,7 +14,7 @@ def _get_description():
name='arcgis2geojson',
description='A Python library for converting ArcGIS JSON to GeoJSON',
long_description=_get_description(),
version='1.0.2',
version='1.0.3',
author="chris48s",
license="MIT",
url="https://github.com/chris48s/arcgis2geojson/",
Expand Down

0 comments on commit 3755c3f

Please sign in to comment.