Skip to content

Commit 8ee27f7

Browse files
committed
Pull pycolmap from pypi instead of building from source
1 parent faaac10 commit 8ee27f7

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ tqdm
66
matplotlib
77
scipy
88
h5py
9-
git+https://github.com/mihaidusmanu/pycolmap
9+
pycolmap

setup.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,8 @@
88
readme = f.read()
99
with open(str(root / 'hloc/__init__.py'), 'r') as f:
1010
version = eval(f.read().split('__version__ = ')[1].split()[0])
11-
12-
dependencies = [
13-
'torch>=1.1',
14-
'torchvision>=0.3',
15-
'opencv-python',
16-
'numpy',
17-
'tqdm',
18-
'matplotlib',
19-
'scipy',
20-
'h5py',
21-
'pycolmap @ git+https://github.com/mihaidusmanu/pycolmap',
22-
]
11+
with open(str(root / 'requirements.txt'), 'r') as f:
12+
dependencies = f.read().split('\n')
2313

2414
setup(
2515
name='hloc',

0 commit comments

Comments
 (0)