-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
48 lines (38 loc) · 1.65 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
import os.path
try:
import setuptools
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
def read(fname):
"""Utility function to read the README file. Used for the long_description.
It's nice, because now 1) we have a top level README file and 2) it's
easier to type in the README file than to put a raw string in below ..."""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
classifiers = [
'Development Status :: 4 - Beta', 'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent', 'Topic :: Internet',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Compilers',
'Programming Language :: Other', 'Programming Language :: Python'
]
classifiers.extend((('Programming Language :: Python :: %s' % x)
for x in '2 3 2.7 3.3 3.4 3.5 3.6 3.7'.split()))
def main():
setup(
name='overpassify',
version='1.2.3',
author='Olivia Appleton',
author_email='[email protected]',
description='A tool to more easily develop queries of OpenStreetMap',
license='LGPLv3',
keywords="""OSM OpenStreetMap Overpass OverpassQL Transpiler Transpile
Compiler Compile Query""",
packages=['overpassify'],
long_description=read('README.rst'),
url='https://github.com/LivInTheLookingGlass/overpassify',
install_requires=read('requirements.txt').splitlines(),
classifiers=classifiers)
if __name__ == '__main__':
main()