forked from openxrlab/xrfeitoria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (87 loc) · 2.38 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
[build-system]
requires = ['setuptools>=45', 'setuptools-scm[toml]>=6.2']
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = 'xrfeitoria/version.py'
[tool.setuptools.packages.find]
include = ['xrfeitoria', 'xrfeitoria.*']
exclude = ['tests*', 'docs*', 'tutorials*', 'src*']
[project]
name = "xrfeitoria"
authors = [{ name = "OpenXRLab", email = "openxrlab@pjlab.org.cn" }]
description = "OpenXRLab Synthetic Data Rendering Toolbox"
readme = "README.md"
requires-python = ">=3.8, <3.11"
license = { text = 'Apache License 2.0' }
classifiers = [
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
'License :: OSI Approved :: Apache Software License',
]
dependencies = [
"astunparse==1.6.3",
"fake-bpy-module-latest",
"numpy>=1,<2",
"loguru<1",
"packaging>=23,<24",
"pydantic>=2,<3",
"psutil>=5,<6",
"rich>=13,<14",
"typer==0.9.0",
"typing_extensions",
"xrprimer==0.7.1",
]
dynamic = ['version']
[project.optional-dependencies]
all = ["xrfeitoria[doc,vis]"]
doc = [
"autodoc_pydantic==2.0.1",
"docutils",
"ipykernel",
"ipywidgets",
"myst-parser==2.0.0",
"nbsphinx==0.8.12",
"sphinx==7.2.5",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.10.1",
"sphinx-rtd-theme==1.3.0",
"sphinx-tabs==3.4.1",
"enum-tools[sphinx]",
]
vis=[
"matplotlib>=3.4,<4",
"opencv-python>=4,<5",
"flow_vis==0.1",
]
[project.urls]
"Homepage" = "https://github.com/openxrlab/xrfeitoria"
"Bug Tracker" = "https://github.com/openxrlab/xrfeitoria/issues"
"Documentation" = "https://xrfeitoria.readthedocs.io/en/latest/"
[project.scripts]
xf-render = "xrfeitoria.cmd.render:app"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310']
include = '\.pyi?$'
skip-string-normalization = true
[tool.ruff]
line-length = 120
# Always autofix, but never try to fix:
# - `F401` (unused imports)
# - `F841` (unused variables)
fix = true
unfixable = ["F401", "F841"]
# Assume the minimum version is Python 3.8
target-version = 'py38'
[tool.isort]
line_length = 120
profile = "black"
src_paths = ["."]
[tool.codespell]
ignore-words-list = "ue,UE,lod,LOD"
skip = "**/mask_colors.json"