forked from Intelligent-Driving-Laboratory/GOPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (45 loc) · 1.31 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright (c). All Rights Reserved.
# General Optimal control Problem Solver (GOPS)
# Intelligent Driving Lab(iDLab), Tsinghua University
#
# Creator: iDLab
# Description: Setup of GOPS Software
# Update Date: 2022-01-10, Yujie Yang: Create codes
import os
from setuptools import setup, find_packages
import gops
def find_data_packages(where):
data_packages = []
for filepath, dirnames, filenames in os.walk(where):
filepath = filepath.replace('\\', '/') + '/*'
filepath = filepath[len(where) + 1:]
data_packages.append(filepath)
return data_packages
setup(
name='gops',
version=gops.__version__,
description='General Optimal control Problem Solver (GOPS)',
url='https://gitee.com/tsinghua-university-iDLab-GOPS/gops',
author='Intelligent Driving Lab (iDLab)',
packages=[package for package in find_packages() if package.startswith('gops')],
package_data={
'gops.env': find_data_packages('gops/env')
},
install_requires=[
'torch>=1.6.0',
'numpy>1.16.0',
'ray>=1.0.0',
'gym==0.23.1',
'pygame',
'box2d',
'pandas',
'tensorboard>=2.5.0',
'matplotlib',
'pyglet',
'seaborn',
'scipy',
'slxpy',
'openpyxl'
],
python_requires='>=3.6',
)