forked from HorizonRobotics/alf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (49 loc) · 1.75 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) 2019 Horizon Robotics. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup, find_packages
import os
os.system("pip install -e ./alf/nest/cnest")
setup(
name='alf',
version='0.0.6',
python_requires='>=3.7.0',
install_requires=[
'atari_py == 0.1.7',
'cpplint',
'clang-format == 9.0',
'fasteners',
'gin-config@git+https://github.com/HorizonRobotics/gin-config.git',
'gym == 0.12.5',
'pyglet == 1.3.2', # higher version breaks classic control rendering
'matplotlib==3.4.1',
'numpy',
'opencv-python',
'pathos == 0.2.4',
# with python3.7, the default version of pillow (PIL) is 8.2.0,
# which breaks some pyglet based rendering in gym
'pillow==7.2.0',
'psutil',
'pybullet == 2.5.0',
'rectangle-packer==2.0.0',
'sphinx==2.4.4',
'sphinxcontrib-napoleon==0.7',
'sphinx-rtd-theme==0.4.3', # used to build html docs locally
'tensorboard == 2.1.0',
'torch == 1.8.1',
'torchvision == 0.9.1',
'torchtext == 0.9.1',
], # And any other dependencies alf needs
package_data={'': ['*.gin']},
packages=find_packages(),
)