-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (96 loc) · 3.21 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
[tool.poetry]
name = "paraphernalia"
version = "0.2.0"
description = "A collection of tools for making art"
authors = ["Joe Halliwell <[email protected]>"]
license = "GPLv3"
readme = "README.md"
homepage = "https://github.com/joehalliwell/paraphernalia"
repository = "https://github.com/joehalliwell/paraphernalia"
keywords = ["art", "torch", "glsl"]
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = ["LICENSE"]
[tool.poetry.dependencies]
python = "^3.10"
click = "^7.1.2"
imageio = "^2.9.0"
imageio-ffmpeg = "^0.4.3"
importlib-metadata = { version = "^1.0", python = "<3.8" }
moderngl = "^5.6.4"
moderngl-window = "^2.4.1"
pyrr = "^0.10.3"
pydantic = { extras = ["dotenv"], version = "^1.8.2" }
torch = "^1.11.0"
# torchtext = "^0.8.0" # HACK: Force downgrade for Colab
tqdm = "^4.59.0"
xdg = "^5.1.0"
einops = "^0.3.0"
ipython = "^7.25.0"
pytorch-lightning = "1.5.0rc0"
python-xmp-toolkit = "^2.0.1"
regex = { version = "^2021.7.1", optional = true }
ftfy = { version = "^6.0.3", optional = true }
taming-transformers = { git = "https://github.com/joehalliwell/taming-transformers.git", optional = true }
omegaconf = { version = "^2.1.0", optional = true }
rich = { version = "^10.15.2", optional = true }
sphinx = { version = "4.2.0", optional = true } # Pinned for theme compatibility
pydata-sphinx-theme = { version = "^0.7.1", optional = true }
sphinx-click = { version = "^3.0.1", optional = true }
autodoc-pydantic = { version = "^1.5.1", optional = true }
# clip = {git = "https://github.com/openai/CLIP.git", rev = "main", optional = true}
DALL-E = { version = "^0.1", optional = true }
clip-anytorch = { version = "^2.4.0", optional = true }
torchvision = "^0.14.1"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
coverage = "^5.5"
ipykernel = "^5.5.5"
pre-commit = "^2.13.0"
isort = "^5.8.0"
black = "^20.8b1"
flake8 = "^4.0.1"
interrogate = "^1.4.0"
docformatter = "^1.4"
ruff = "^0.0.247"
[tool.poetry.extras]
openai = ["regex", "ftfy", "clip-anytorch", "DALL-E"]
taming = ["taming-transformers", "omegaconf", "pytorch-lightning"]
docs = ["sphinx", "pydata-sphinx-theme", "sphinx-click", "autodoc-pydantic"]
rich = ["rich"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
render = 'paraphernalia.glsl:render'
preview = 'paraphernalia.glsl:preview'
sign = 'paraphernalia.signature:sign'
review = 'paraphernalia.review:review'
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = true
ignore-semiprivate = true
ignore-private = false
ignore-property-decorators = false
ignore-setters = true
ignore-module = false
ignore-nested-functions = false
ignore-nested-classes = true
fail-under = 90
exclude = ["setup.py", "docs", "build", "tests", "scratch"]
ignore-regex = ["^forward$", "^training_step$"]
verbose = 0
quiet = false
whitelist-regex = []
color = true
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"