-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (67 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
76 lines (67 loc) · 1.6 KB
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
[build-system]
requires = ["scikit-build-core>=0.11.0", "pybind11"]
build-backend = "scikit_build_core.build"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 88
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = ["A", "B", "C", "D", "E", "F", "I", "N", "W"]
ignore = ["D203", "D213", "D407", "D406", "D413", "N801", "C901"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = true
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[project]
name = "hcle_py"
version = "0.1.11"
description = "A High-performance C++ Learning Environment"
authors = [{ name = "Hal Kolb", email = "hal@kolb.com" }]
requires-python = ">=3.10"
dependencies = ["numpy", "gymnasium"]
[tool.scikit-build]
build.verbose = true
wheel.cmake = true
wheel.packages = ["src/hcle/python/hcle_py"]
sdist.reproducible = true
cmake.build-type = "Release"
cmake.args = [
"-DPython_EXECUTABLE:FILEPATH={python_executable}",
"-DCMAKE_BUILD_TYPE=Release",
# "-DCMAKE_TOOLCHAIN_FILE={cmake_source_dir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"--log-level=VERBOSE",
]