-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
146 lines (135 loc) · 3.3 KB
/
pyproject.toml
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Copyright 2024 Sony Group Corporation.
#
# 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.
[build-system]
requires = [
"setuptools >= 61.0.0",
"wheel",
"pytest-runner"
]
build-backend = "setuptools.build_meta"
[project]
name = "nnabla_rl"
authors = [
{ name = "Sony Group Corporation" }
]
maintainers = [
{ name = "Yu Ishihara" },
{ name = "Shunichi Sekiguchi" },
{ name = "Takayoshi Takayanagi" },
]
description = "Deep reinforcement learning library built on top of Neural Network Libraries"
license = {file = "LICENSE"}
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: POSIX :: Linux"
]
keywords = [
"deep learning",
"artificial intelligence",
"machine learning",
"neural network"
]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"nnabla >= 1.17, != 1.18.0",
"numpy >= 1.17",
"gym < 0.26.0",
"opencv-python",
"packaging",
"tqdm",
"gymnasium"
]
[project.urls]
Homepage = "https://github.com/sony/nnabla-rl"
Repository = "https://github.com/sony/nnabla-rl"
Documentation = "https://nnabla-rl.readthedocs.io/en/latest/"
[project.optional-dependencies]
render = ["pyglet >= 1.4.0"]
dev = [
"flake8",
"pylint",
"pytest",
"pytest-cov",
"mypy != 1.11.0",
"typing-extensions",
"isort > 5.0.0",
"black",
"docformatter"
]
deploy = [
"setuptools >= 61.0.0",
"wheel",
"build",
"twine"
]
doc = ["sphinx", "sphinx_rtd_theme"]
test = [
"pytest",
"pytest-cov",
"mock"
]
[tool.setuptools.dynamic]
version = {attr = "nnabla_rl.__version__"}
[tool.setuptools.packages.find]
exclude = [
"bin*",
"docs*",
"examples*",
"interactive-demos",
"reproductions*",
"tests*",
"test_resources*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-s"
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
nnabla_rl/external
)
'''
[tool.isort]
profile = "black"
line_length = 120
honor_noqa = true
known_first_party = ["nnabla"]
skip_glob = ["external"]
[tool.mypy]
python_version = 3.8
ignore_missing_imports = true
no_implicit_optional = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
files = ["nnabla_rl"]
[tool.docformatter]
recursive = true