forked from geopy/geopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.66 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
import os
from setuptools import setup, find_packages
from pkg_resources import resource_string
install_requires = []
# Test if we have built-in JSON - Python 2.6+, 3.0+.
# Older Python versions require simplejson.
# Alternatively, if Django is installed, plug into the django
# copy of simplejson.
try:
import json
except ImportError:
try:
import simplejson
except ImportError:
try:
from django.utils import simplejson
except:
install_requires.append('simplejson')
# note: not automated since py3k cannot import geopy.get_version at
# install-time (since 2to3 has not yet run)
version = "0.95.1"
setup(name='geopy',
version=version,
description='Python Geocoding Toolbox',
author='GeoPy Project / Mike Tigas',
author_email='[email protected]', # subject to change
url='http://code.google.com/p/geopy/',
download_url='http://code.google.com/p/geopy/downloads/list',
packages=find_packages(),
install_requires=install_requires,
test_suite = "geopy.tests.run_tests.all_tests",
license='MIT',
keywords='geocode geocoding gis geographical maps earth distance',
classifiers=["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
use_2to3=True,
)