Skip to content

Commit cfb9407

Browse files
committed
bumping to 0.5.4, getting markdown to rst to work for PyPi
1 parent 1051aba commit cfb9407

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
Overpass API python wrapper
22
===========================
33

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>).
86

7+
[![Build Status](https://travis-ci.org/mvexel/overpass-api-python-wrapper.svg?branch=master)](https://travis-ci.org/mvexel/overpass-api-python-wrapper)
98

109
Install it
1110
==========

setup.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
from codecs import open as codecs_open
22
from setuptools import setup, find_packages
33

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()
710

811
setup(
912
name='overpass',
1013
packages=['overpass'],
11-
version='0.5.0',
14+
version='0.5.4',
1215
description='Python wrapper for the OpenStreetMap Overpass API',
1316
long_description=long_description,
1417
author='Martijn van Exel',

0 commit comments

Comments
 (0)