1
- [tool . poetry ]
1
+ [project ]
2
2
name = " ocioview"
3
3
version = " 0.1.0"
4
4
description = " OpenColorIO config visual editor application"
5
- license = " BSD-3-Clause"
6
- authors = [" Contributors to the OpenColorIO Project" ]
5
+ requires-python = " >=3.10,<3.14"
6
+ authors = [
7
+ { name = " Contributors to the OpenColorIO Project" }
8
+ ]
9
+ maintainers = [
10
+ { name = " Contributors to the OpenColorIO Project" }
11
+ ]
12
+ license = { text = " BSD-3-Clause" }
13
+ classifiers = [
14
+ " Development Status :: 3 - Alpha" ,
15
+ " Environment :: Console" ,
16
+ " Intended Audience :: Developers" ,
17
+ " Intended Audience :: Science/Research" ,
18
+ " License :: OSI Approved" ,
19
+ " Natural Language :: English" ,
20
+ " Operating System :: OS Independent" ,
21
+ " Programming Language :: Python :: 3" ,
22
+ " Topic :: Scientific/Engineering" ,
23
+ " Topic :: Software Development" ,
24
+ ]
25
+ dependencies = [
26
+ " colour-science>=0.4.5,<0.5" ,
27
+ " colour-visuals" ,
28
+ " imageio>=2,< 3" ,
29
+ " networkx>=3,<4" ,
30
+ " numpy>=1.24,<3" ,
31
+ " opencolorio>=2,<3" ,
32
+ " pygfx>=0.1,<0.3" ,
33
+ " pygments" ,
34
+ " pyopengl" ,
35
+ " pyside6" ,
36
+ " qtawesome" ,
37
+ " scipy>=1.10,<2" ,
38
+ ]
39
+
40
+ [tool .uv .sources ]
41
+ "colour-visuals" = { git = " https://github.com/colour-science/colour-visuals.git" }
7
42
8
- [tool .poetry .dependencies ]
9
- python = " >= 3.9, < 3.12"
10
- colour-science = {git = " https://github.com/colour-science/colour.git" }
11
- colour-visuals = {git = " https://github.com/colour-science/colour-visuals.git" }
12
- imageio = " >= 2, < 3"
13
- networkx = " >= 2.7, < 3"
14
- numpy = " >= 1.22, < 2"
15
- opencolorio = " *"
16
- pygfx = " *"
17
- pygments = " *"
18
- pyopengl = " *"
19
- pyside6 = " *"
20
- qtawesome = " *"
21
- scipy = " >= 1.8, < 2"
22
- wpgu = " *"
43
+ [project .optional-dependencies ]
44
+ docs = [
45
+ " restructuredtext-lint" ,
46
+ " sphinx" ,
47
+ ]
23
48
24
- [tool .poetry . group . dev . dependencies ]
25
- black = " * "
26
- blackdoc = " * "
27
- coverage = " != 6.3 "
28
- coveralls = " * "
29
- flynt = " * "
30
- invoke = " * "
31
- jupyter = " * "
32
- pre-commit = " * "
33
- pyright = " * "
34
- pytest = " * "
35
- pytest-cov = " * "
36
- pytest-qt = " * "
37
- pytest-xdist = " * "
38
- ruff = " * "
39
- toml = " * "
40
- twine = " * "
49
+ [tool .uv ]
50
+ package = true
51
+ dev-dependencies = [
52
+ " black " ,
53
+ " coverage " ,
54
+ " coveralls " ,
55
+ " hatch " ,
56
+ " invoke " ,
57
+ " jupyter " ,
58
+ " pre-commit " ,
59
+ " pyright " ,
60
+ " pytest " ,
61
+ " pytest-cov " ,
62
+ " pytest-xdist" ,
63
+ " toml " ,
64
+ " twine " ,
65
+ ]
41
66
42
- [tool .poetry .group .docs .dependencies ]
43
- pydata-sphinx-theme = " *"
44
- restructuredtext-lint = " *"
45
- sphinx = " *"
46
- sphinxcontrib-bibtex = " *"
67
+ [build-system ]
68
+ requires = [" hatchling" ]
69
+ build-backend = " hatchling.build"
70
+
71
+ [tool .hatch .build .targets .wheel ]
72
+ packages = [ " ocioview" ]
47
73
48
74
[tool .black ]
49
75
line-length = 79
@@ -85,7 +111,7 @@ filterwarnings = [
85
111
]
86
112
87
113
[tool .ruff ]
88
- target-version = " py39 "
114
+ target-version = " py310 "
89
115
line-length = 88
90
116
select = [
91
117
" A" , # flake8-builtins
@@ -128,7 +154,7 @@ select = [
128
154
" TRY" , # tryceratops
129
155
" UP" , # pyupgrade
130
156
" W" , # pydocstyle
131
- " YTT" # flake8-2020
157
+ " YTT" , # flake8-2020
132
158
]
133
159
ignore = [
134
160
" B008" ,
@@ -162,6 +188,7 @@ ignore = [
162
188
" RET508" ,
163
189
" TRY003" ,
164
190
" TRY300" ,
191
+ " UP038" ,
165
192
]
166
193
typing-modules = [" colour.hints" ]
167
194
fixable = [" B" , " C" , " E" , " F" , " PIE" , " RUF" , " SIM" , " UP" , " W" ]
@@ -172,6 +199,5 @@ convention = "numpy"
172
199
[tool .ruff .per-file-ignores ]
173
200
"docs/*" = [" INP" ]
174
201
175
- [build-system ]
176
- requires = [" poetry_core>=1.0.0" ]
177
- build-backend = " poetry.core.masonry.api"
202
+ [tool .ruff .format ]
203
+ docstring-code-format = true
0 commit comments