File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
Overpass API python wrapper
2
2
===========================
3
3
4
- This is a thin wrapper around the OpenStreetMap `Overpass
5
- API < http://wiki.openstreetmap.org/wiki/Overpass_API > `__ .
6
-
7
- ![ travis-build-badge] ( https://travis-ci.org/mvexel/overpass-api-python-wrapper.svg?branch=master )
4
+ This is a thin wrapper around the OpenStreetMap [ Overpass
5
+ API] ( http://wiki.openstreetmap.org/wiki/Overpass_API> ) .
8
6
7
+ [ ![ Build Status] ( https://travis-ci.org/mvexel/overpass-api-python-wrapper.svg?branch=master )] ( https://travis-ci.org/mvexel/overpass-api-python-wrapper )
9
8
10
9
Install it
11
10
==========
Original file line number Diff line number Diff line change 1
1
from codecs import open as codecs_open
2
2
from setuptools import setup , find_packages
3
3
4
- # Get the long description from the relevant file
5
- with codecs_open ('README.md' , encoding = 'utf-8' ) as f :
6
- long_description = f .read ()
4
+ # Get README in rst
5
+ try :
6
+ import pypandoc
7
+ long_description = pypandoc .convert ('README.md' , 'rst' )
8
+ except (IOError , ImportError ):
9
+ long_description = open ('README.md' ).read ()
7
10
8
11
setup (
9
12
name = 'overpass' ,
10
13
packages = ['overpass' ],
11
- version = '0.5.0 ' ,
14
+ version = '0.5.4 ' ,
12
15
description = 'Python wrapper for the OpenStreetMap Overpass API' ,
13
16
long_description = long_description ,
14
17
author = 'Martijn van Exel' ,
You can’t perform that action at this time.
0 commit comments