Skip to content

Commit

Permalink
bumping to 0.5.4, getting markdown to rst to work for PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
mvexel committed Aug 21, 2016
1 parent 1051aba commit cfb9407
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Overpass API python wrapper
===========================

This is a thin wrapper around the OpenStreetMap `Overpass
API <http://wiki.openstreetmap.org/wiki/Overpass_API>`__.

![travis-build-badge](https://travis-ci.org/mvexel/overpass-api-python-wrapper.svg?branch=master)
This is a thin wrapper around the OpenStreetMap [Overpass
API](http://wiki.openstreetmap.org/wiki/Overpass_API>).

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

Install it
==========
Expand Down
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
from codecs import open as codecs_open
from setuptools import setup, find_packages

# Get the long description from the relevant file
with codecs_open('README.md', encoding='utf-8') as f:
long_description = f.read()
# Get README in rst
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()

setup(
name='overpass',
packages=['overpass'],
version='0.5.0',
version='0.5.4',
description='Python wrapper for the OpenStreetMap Overpass API',
long_description=long_description,
author='Martijn van Exel',
Expand Down

0 comments on commit cfb9407

Please sign in to comment.