forked from cvg/Hierarchical-Localization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 999 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
from pathlib import Path
from setuptools import setup, find_packages
description = ['Tools and baselines for visual localization and mapping']
root = Path(__file__).parent
with open(str(root / 'README.md'), 'r', encoding='utf-8') as f:
readme = f.read()
with open(str(root / 'hloc/__init__.py'), 'r') as f:
version = eval(f.read().split('__version__ = ')[1].split()[0])
with open(str(root / 'requirements.txt'), 'r') as f:
dependencies = f.read().split('\n')
setup(
name='hloc',
version=version,
packages=find_packages(),
python_requires='>=3.6',
install_requires=dependencies,
author='Paul-Edouard Sarlin',
description=description,
long_description=readme,
long_description_content_type="text/markdown",
url='https://github.com/cvg/Hierarchical-Localization/',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)