imaginAIry/setup.py

57 lines
1.6 KiB
Python
Raw Normal View History

2022-09-11 20:58:14 +00:00
from setuptools import find_packages, setup
2022-09-08 03:59:30 +00:00
with open("README.md", "r", encoding="utf-8") as f:
readme = f.read()
2022-09-08 03:59:30 +00:00
setup(
name="imaginAIry",
author="Bryce Drennan",
2022-09-12 04:47:14 +00:00
# author_email="b r y p y d o t io",
2022-09-22 17:34:34 +00:00
version="1.6.2",
description="AI imagined images. Pythonic generation of stable diffusion images.",
long_description=readme,
long_description_content_type="text/markdown",
2022-09-12 04:47:14 +00:00
project_urls={
"Documentation": "https://github.com/brycedrennan/imaginAIry/blob/master/README.md",
"Source": "https://github.com/brycedrennan/imaginAIry",
},
packages=find_packages(include=("imaginairy", "imaginairy.*")),
2022-09-09 05:22:55 +00:00
entry_points={
"console_scripts": [
"imagine=imaginairy.cmds:imagine_cmd",
"aimg=imaginairy.cmds:aimg",
],
2022-09-09 05:22:55 +00:00
},
package_data={
"imaginairy": [
"configs/*.yaml",
"vendored/clip/*.txt.gz",
"vendored/clipseg/*.pth",
"vendored/blip/configs/*.*",
]
},
2022-09-08 03:59:30 +00:00
install_requires=[
"click",
"protobuf != 3.20.2, != 3.19.5",
"fairscale>=0.4.4", # for vendored blip
"ftfy", # for vendored clip
"torch>=1.2.0",
"numpy",
"tqdm",
2022-09-11 07:35:57 +00:00
"diffusers",
2022-09-08 03:59:30 +00:00
"imageio==2.9.0",
"Pillow>=8.0.0",
2022-09-08 03:59:30 +00:00
"pytorch-lightning==1.4.2",
"omegaconf==2.1.1",
"einops==0.3.0",
"timm>=0.4.12", # for vendored blip
"torchdiffeq",
2022-09-08 03:59:30 +00:00
"transformers==4.19.2",
"torchmetrics==0.6.0",
"torchvision>=0.13.1",
2022-09-08 03:59:30 +00:00
"kornia==0.6",
"realesrgan",
"gfpgan>=1.3.7",
2022-09-08 03:59:30 +00:00
],
)