-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (47 loc) · 1.81 KB
/
setup.py
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
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python
#
# Xiao Yu - Montreal - 2010
# Based on googlemaps by John Kleint
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
"""
Distutils setup script for pygeocoder module.
"""
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from __version__ import VERSION
setup(
name='pygeocoder',
version=VERSION,
author='Xiao Yu',
author_email='[email protected]',
url='http://code.xster.net/pygeocoder',
download_url='http://code.xster.net/pygeocoder/downloads',
description='Python interface for Google Geocoding API V3. Can be used to easily geocode, reverse geocode, validate and format addresses.',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.txt'), 'r').read(),
py_modules=['pygeocoder', 'pygeolib', '__version__'],
provides=['pygeocoder'],
requires=['json', 'functools', 'base64', 'hmac', 'hashlib'],
install_requires=['requests >= 1.0'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='google maps ajax api geocode geocoding address gps json validation formatting',
license='BSD',
)