File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11Overpass 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
109Install it
1110========== 
Original file line number Diff line number Diff line change 11from  codecs  import  open  as  codecs_open 
22from  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
811setup (
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' ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments