-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
executable file
·41 lines (35 loc) · 1.14 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
#!/usr/bin/env python3
# encoding: utf-8
"""
setup.py
~~~~~~~~
:author: Wannes Meert
:copyright: Copyright 2017-2021 DTAI, KU Leuven and Sirris.
:license: Apache License, Version 2.0, see LICENSE for details.
"""
from setuptools import setup, find_packages
import re
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join('leuvenmapmatching', '__init__.py'), 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name='leuvenmapmatching',
version=version,
packages=find_packages(),
author='Wannes Meert',
author_email='[email protected]',
url='https://github.com/wannesm/LeuvenMapMatching',
description='Match a trace of GPS positions to a locations and streets on a map',
python_requires='>=3.6',
license='Apache 2.0',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3'
],
keywords='map matching',
)