forked from brycedrennan/imaginAIry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (63 loc) · 1.88 KB
/
setup.py
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
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as f:
readme = f.read()
setup(
name="imaginAIry",
author="Bryce Drennan",
# author_email="b r y p y d o t io",
version="8.0.1",
description="AI imagined images. Pythonic generation of stable diffusion images.",
long_description=readme,
long_description_content_type="text/markdown",
project_urls={
"Documentation": "https://github.com/brycedrennan/imaginAIry/blob/master/README.md",
"Source": "https://github.com/brycedrennan/imaginAIry",
},
packages=find_packages(include=("imaginairy", "imaginairy.*")),
entry_points={
"console_scripts": [
"imagine=imaginairy.cmds:imagine_cmd",
"aimg=imaginairy.cmds:aimg",
],
},
package_data={
"imaginairy": [
"configs/*.yaml",
"data/*.*",
"enhancers/phraselists/*.txt",
"vendored/clip/*.txt.gz",
"vendored/clipseg/*.pth",
"vendored/blip/configs/*.*",
"vendored/noodle_soup_prompts/*.*",
"vendored/noodle_soup_prompts/LICENSE",
]
},
install_requires=[
"click",
"click-shell",
"protobuf != 3.20.2, != 3.19.5",
"facexlib",
"fairscale>=0.4.4", # for vendored blip
"ftfy", # for vendored clip
"torch>=1.2.0",
"numpy",
"tqdm",
"diffusers",
"imageio>=2.9.0",
"Pillow>=8.0.0",
"psutil",
"pytorch-lightning>=1.4.2",
"omegaconf>=2.1.1",
"open-clip-torch",
"opencv-python",
"requests",
"einops>=0.3.0",
"safetensors",
"timm>=0.4.12", # for vendored blip
"torchdiffeq",
"transformers>=4.19.2",
"torchmetrics>=0.6.0",
"torchvision>=0.13.1",
"kornia>=0.6",
],
)