From 8ee27f74c42053ae9415146bbe472e0e397eb924 Mon Sep 17 00:00:00 2001 From: Paul-Edouard Sarlin Date: Sat, 1 Jan 2022 19:56:18 +0100 Subject: [PATCH] Pull pycolmap from pypi instead of building from source --- requirements.txt | 2 +- setup.py | 14 ++------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0f92c495..14aed097 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,4 @@ tqdm matplotlib scipy h5py -git+https://github.com/mihaidusmanu/pycolmap +pycolmap diff --git a/setup.py b/setup.py index fd789530..c7a10f3d 100644 --- a/setup.py +++ b/setup.py @@ -8,18 +8,8 @@ readme = f.read() with open(str(root / 'hloc/__init__.py'), 'r') as f: version = eval(f.read().split('__version__ = ')[1].split()[0]) - -dependencies = [ - 'torch>=1.1', - 'torchvision>=0.3', - 'opencv-python', - 'numpy', - 'tqdm', - 'matplotlib', - 'scipy', - 'h5py', - 'pycolmap @ git+https://github.com/mihaidusmanu/pycolmap', -] +with open(str(root / 'requirements.txt'), 'r') as f: + dependencies = f.read().split('\n') setup( name='hloc',