Create setup.py
#18
by
ghostknight00104
- opened
setup.py
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from setuptools import setup, find_packages
|
2 |
+
|
3 |
+
setup(
|
4 |
+
name="kwai-kolors",
|
5 |
+
version="0.1",
|
6 |
+
author="Kwai-Kolors",
|
7 |
+
description="Kwai-Kolors model package using diffusers",
|
8 |
+
long_description=open('README.md').read(),
|
9 |
+
long_description_content_type="text/markdown",
|
10 |
+
url="https://huggingface.co/Kwai-Kolors/Kolors",
|
11 |
+
packages=find_packages(),
|
12 |
+
install_requires=[
|
13 |
+
"torch>=1.8.0",
|
14 |
+
"transformers>=4.5.0",
|
15 |
+
"diffusers>=0.3.0",
|
16 |
+
"Pillow>=8.0.0",
|
17 |
+
"requests>=2.25.0",
|
18 |
+
# Add other dependencies here if needed
|
19 |
+
],
|
20 |
+
classifiers=[
|
21 |
+
"Programming Language :: Python :: 3",
|
22 |
+
"License :: OSI Approved :: Apache Software License",
|
23 |
+
"Operating System :: OS Independent",
|
24 |
+
],
|
25 |
+
python_requires='>=3.6',
|
26 |
+
)
|