forked from kovacsbalu/WazeRouteCalculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (25 loc) · 909 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup
import os
with open("./WazeRouteCalculator/__version__.py") as version_file:
version = version_file.read().split("\"")[1]
def read(fname):
try:
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
except IOError:
return ""
setup(
name = 'WazeRouteCalculator',
version = version,
author = 'Balint Kovacs',
author_email = '[email protected]',
description = "Calculate actual route time and distance with waze api.",
url = 'https://github.com/kovacsbalu/WazeRouteCalculator',
download_url="https://github.com/kovacsbalu/WazeRouteCalculator/tarball/" + version,
license = 'GNU GPL v3',
keywords = ['waze', 'route', 'calculator'],
packages = ['WazeRouteCalculator'],
install_requires = ['requests'],
long_description = read('readme.md')
)