-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
36 lines (28 loc) · 1.02 KB
/
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
32
33
34
35
36
import os.path as osp
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
content = f.read()
return content
def find_version():
version_file = 'torchdet3d/version.py'
with open(version_file, 'r') as f:
exec(compile(f.read(), version_file, 'exec'))
return locals()['__version__']
def get_requirements(filename='requirements.txt'):
here = osp.dirname(osp.realpath(__file__))
with open(osp.join(here, filename), 'r') as f:
requires = [line.replace('\n', '') for line in f.readlines()]
return requires
setup(
name='torchdet3d',
version=find_version(),
description='A library for deep learning 3D object detection in PyTorch',
author='Sovrasov Vladislav, Prokofiev Kirill',
license='MIT',
long_description=readme(),
url='https://github.com/sovrasov/3d-object-detection.pytorch',
packages=find_packages(),
install_requires=get_requirements(),
keywords=['3D object detection', 'Deep Learning', 'Computer Vision'],
)