forked from MediaBrain-SJTU/Where2comm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (24 loc) · 936 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
# -*- coding: utf-8 -*-
# Author: Runsheng Xu <[email protected]>
# License: TDG-Attribution-NonCommercial-NoDistrib
from os.path import dirname, realpath
from setuptools import setup, find_packages, Distribution
from opencood.version import __version__
def _read_requirements_file():
"""Return the elements in requirements.txt."""
req_file_path = '%s/requirements.txt' % dirname(realpath(__file__))
with open(req_file_path) as f:
return [line.strip() for line in f]
setup(
name='OpenCOOD',
version=__version__,
packages=find_packages(),
url='https://github.com/ucla-mobility/OpenCDA.git',
license='MIT',
author='Runsheng Xu, Hao Xiang',
description='An opensource pytorch framework for autonomous driving '
'cooperative detection',
long_description=open("README.md").read(),
install_requires=_read_requirements_file(),
)