forked from geopy/geopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·83 lines (75 loc) · 2.35 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env python
"""
geopy
"""
from setuptools import find_packages, setup
from geopy import __version__ as version
INSTALL_REQUIRES = [
'geographiclib<2,>=1.49',
]
EXTRAS_DEV_TESTFILES_COMMON = [
"contextlib2; python_version<'3.0'",
"mock",
"six",
]
EXTRAS_DEV_LINT = [
"flake8>=3.6.0,<3.7.0",
"isort>=4.3.4,<4.4.0",
]
EXTRAS_DEV_TEST = [
"coverage",
"pytest>=3.10",
"statistics; python_version<'3.0'",
]
EXTRAS_DEV_DOCS = [
"readme_renderer",
"sphinx",
"sphinx_rtd_theme>=0.4.0",
]
setup(
name='geopy',
version=version,
description='Python Geocoding Toolbox',
long_description=open('README.rst').read(),
author='GeoPy Contributors',
author_email='uijllji@gmail.com',
url='https://github.com/geopy/geopy',
download_url=(
'https://github.com/geopy/geopy/archive/%s.tar.gz' % version
),
packages=find_packages(exclude=["*test*"]),
install_requires=INSTALL_REQUIRES,
extras_require={
"dev": (EXTRAS_DEV_TESTFILES_COMMON +
EXTRAS_DEV_LINT +
EXTRAS_DEV_TEST +
EXTRAS_DEV_DOCS),
"dev-lint": (EXTRAS_DEV_TESTFILES_COMMON +
EXTRAS_DEV_LINT),
"dev-test": (EXTRAS_DEV_TESTFILES_COMMON +
EXTRAS_DEV_TEST),
"dev-docs": EXTRAS_DEV_DOCS,
"timezone": ["pytz"],
},
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 :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
)