forked from BrokenSource/ShaderFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (49 loc) · 2.11 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
[tool.poetry]
name = "ShaderFlow"
version = "2024.3.24"
description = "Imagine ShaderToy, on a Manim-like architecture. That's ShaderFlow."
authors = ["Tremeschin <[email protected]>"]
license = "AGPL-3.0-only"
[[tool.poetry.packages]]
include = "ShaderFlow"
[tool.poetry.scripts]
main = "ShaderFlow.__main__:main"
[tool.poe.tasks]
_install_venv = "poetry install"
_install_torch_default = "python -m pip install torch==2.2.1 torchvision"
_install_torch_cuda = "python -m pip install torch==2.2.1 torchvision --index-url https://download.pytorch.org/whl/cu118"
_install_torch_rocm = "python -m pip install torch==2.2.1 torchvision --index-url https://download.pytorch.org/whl/rocm5.7"
_install_torch_cpu = "python -m pip install torch==2.2.1 torchvision --index-url https://download.pytorch.org/whl/cpu"
_uninstall_torch = "python -m pip uninstall -y torch torchvision"
default = ["_install_venv", "_uninstall_torch", "_install_torch_default"]
cuda = ["_install_venv", "_uninstall_torch", "_install_torch_cuda"]
rocm = ["_install_venv", "_uninstall_torch", "_install_torch_rocm"]
cpu = ["_install_venv", "_uninstall_torch", "_install_torch_cpu" ]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
moderngl = "^5.8.2"
glfw = "^2.6.2"
imgui = "^2.0.0"
imageio-ffmpeg = "^0.4.8"
glcontext = "^2.4.0"
soundcard = "^0.4.2"
audioread = "^3.0.0"
numpy-quaternion = "^2022.4.3"
opensimplex = "^0.4.5"
pygame = "^2.5.2"
broken-source = "^2024.1.15"
moderngl-window = "^2.4.5"
pretty-midi = "^0.2.10"
pyfluidsynth = "^1.3.3"
midi2audio = "^0.1.1"
samplerate = "^0.2.1"
scipy = "^1.12.0"
transformers = "^4.39.1"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.25.0"
[tool.poetry.dev-dependencies]
moderngl-window = {path="../../Meta/Fork/ModernGLW", develop=true}
broken-source = {path="../../", develop=true}