-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathsetup.py
31 lines (26 loc) · 984 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
from pathlib import Path
from setuptools import setup
description = ['Training and evaluation of the CVPR 2021 paper Back to the Feature']
with open(str(Path(__file__).parent / 'README.md'), 'r', encoding='utf-8') as f:
readme = f.read()
with open(str(Path(__file__).parent / 'requirements.txt'), 'r') as f:
dependencies = f.read().split('\n')
extra_dependencies = ['jupyter', 'scikit-learn', 'ffmpeg-python', 'kornia']
setup(
name='pixloc',
version='1.0',
packages=['pixloc'],
python_requires='>=3.6',
install_requires=dependencies,
extras_require={'extra': extra_dependencies},
author='Paul-Edouard Sarlin',
description=description,
long_description=readme,
long_description_content_type="text/markdown",
url='https://github.com/cvg/pixloc/',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)