forked from nateraw/stable-diffusion-videos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (26 loc) · 944 Bytes
/
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
from setuptools import find_packages, setup
def get_version() -> str:
rel_path = "stable_diffusion_videos/__init__.py"
with open(rel_path, "r") as fp:
for line in fp.read().splitlines():
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
raise RuntimeError("Unable to find version string.")
with open("requirements.txt", "r") as f:
requirements = f.read().splitlines()
extras = {}
extras['realesrgan'] = ['realesrgan==0.2.5.0']
setup(
name="stable_diffusion_videos",
version=get_version(),
author="Nathan Raw",
author_email="[email protected]",
description=(
"Create 🔥 videos with Stable Diffusion by exploring the latent space and morphing between text prompts."
),
license="Apache",
install_requires=requirements,
extras_require=extras,
packages=find_packages(),
)