forked from OATML/oatomobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
94 lines (88 loc) · 3.04 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Copyright 2020 The OATomobile Authors. 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.
# ==============================================================================
import os
from importlib import util as import_util
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README.mf file
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# Get the version from metadata.
spec = import_util.spec_from_file_location(
"_metadata",
"oatomobile/_metadata.py",
)
_metadata = import_util.module_from_spec(spec)
spec.loader.exec_module(_metadata)
version = _metadata.__version__
setup(
name="oatomobile",
version=version,
description=
"The oatomobile is a tool for developing and testing driving agents on the CARLA simulator",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/oatml/oatomobile",
author="Oxford Applied and Theoretical Machine Learning Group",
author_email="[email protected]",
license="Apache License, Version 2.0",
packages=find_packages(),
install_requires=[
"absl-py==0.9.0",
"gym==0.17.1",
"pygame==1.9.6",
"matplotlib==3.0.3",
"seaborn==0.9.1",
"pandas==0.25.3",
"scipy==1.4.1",
"transforms3d==0.3.1",
"tqdm==4.42.1",
"wget==3.2",
"networkx==2.4",
"imageio==2.8.0",
"tabulate==0.8.7",
"scikit-image==0.15.0",
"dm-tree==0.1.5",
],
tests_require=[
"pytest",
],
# See oatomobile/baselines/README.md for more information.
extras_require={
# Additional requirements for TensorFlow baselines.
"tf": [
"dm-sonnet==2.0.0",
"tensorflow==2.3.0",
"tensorflow-probability==0.11.0",
"tensorboard==2.3.0",
],
# Additional requirements for PyTorch baselines.
"torch": [
"torch==1.5.1",
"torchvision==0.6.1",
"tensorboard==2.3.0",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)