forked from metaodi/osmapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.47 KB
/
setup.py
File metadata and controls
44 lines (40 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- coding: utf-8 -*-
import codecs
version = __import__('osmapi').__version__
try:
import pypandoc
from unidecode import unidecode
description = codecs.open('README.md', encoding='utf-8').read()
description = unidecode(description)
description = pypandoc.convert(description, 'rst', format='md')
except (IOError, ImportError):
description = 'Python wrapper for the OSM API'
from distutils.core import setup
setup(
name='osmapi',
packages=['osmapi'],
version=version,
description='Python wrapper for the OSM API',
long_description=description,
author='Etienne Chové',
author_email='chove@crans.org',
maintainer='Stefan Oderbolz',
maintainer_email='odi@readmore.ch',
url='https://github.com/metaodi/osmapi',
download_url='https://github.com/metaodi/osmapi/archive/v%s.zip' % version,
keywords=['openstreetmap', 'osm', 'api'],
license='GPLv3',
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries',
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],
)