forked from mapillary/mapillary_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (25 loc) · 853 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
32
#!/usr/bin/env python
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
def read_requirements():
with open("requirements.txt") as fp:
return [row.strip() for row in fp if row.strip()]
about = {}
with open(os.path.join(here, "mapillary_tools", "__init__.py"), "r") as f:
exec(f.read(), about)
setup(
name="mapillary_tools",
version=about["VERSION"],
description="Mapillary Image/Video Import Pipeline",
url="https://github.com/mapillary/mapillary_tools",
author="Mapillary",
license="BSD",
python_requires=">=3.6",
packages=["mapillary_tools", "mapillary_tools.commands", "mapillary_tools.geotag"],
entry_points="""
[console_scripts]
mapillary_tools=mapillary_tools.commands.__main__:main
""",
install_requires=read_requirements(),
)