forked from leggedrobotics/delora
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (29 loc) · 1.1 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
import os
from setuptools import setup, find_packages
from setuptools.command.install import install
class CustomInstallCommand(install):
# This is only run for "python setup.py install" (not for "pip install -e .")
def run(self):
print("--------------------------------")
print("Writing environment variables to .env ...")
os.system('echo "export DELORA_ROOT=' + os.getcwd() + '" >> .env')
print("...done.")
print("--------------------------------")
install.run(self)
setup(name='DeLORA',
version='1.0',
author='Julian Nubert ([email protected])',
package_dir={"": "src"},
install_requires=[
'numpy',
'torch',
'opencv-python',
'pyyaml',
'rospkg'
],
scripts=['bin/preprocess_data.py', 'bin/run_rosnode.py', 'bin/run_testing.py', 'bin/run_training.py',
'bin/visualize_pointcloud_normals.py'],
license='LICENSE',
description='Self-supervised Learning of LiDAR Odometry for Robotic Applications',
cmdclass={'install': CustomInstallCommand, },
)