monoloco/setup.py
2020-08-20 11:55:52 +02:00

47 lines
1.2 KiB
Python

from setuptools import setup
# extract version from __init__.py
with open('monstereo/__init__.py', 'r') as f:
VERSION_LINE = [l for l in f if l.startswith('__version__')][0]
VERSION = VERSION_LINE.split('=')[1].strip()[1:-1]
setup(
name='monstereo',
version=VERSION,
packages=[
'monstereo',
'monstereo.network',
'monstereo.eval',
'monstereo.train',
'monstereo.prep',
'monstereo.visuals',
'monstereo.utils'
],
license='GNU AGPLv3',
description='MonStereo: When Monocular and Stereo Meet at the Tail of 3D Human Localization',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Lorenzo Bertoni',
author_email='lorenzo.bertoni@epfl.ch',
url='https://github.com/vita-epfl/monstereo',
zip_safe=False,
install_requires=[
'openpifpaf==0.8.0',
'torch==1.1.0',
'torchvision==0.3.0'
],
extras_require={
'eval': [
'tabulate==0.8.3',
'sklearn',
'pandas',
'pylint',
'pytest',
],
'prep': [
'nuscenes-devkit==1.0.2',
],
},
)