-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 924 Bytes
/
setup.py
File metadata and controls
29 lines (26 loc) · 924 Bytes
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
import os
from setuptools import setup, find_packages
import pkg_resources
requirements_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
# Read the requirements from the requirements file
if os.path.exists(requirements_path):
with open(requirements_path, 'r') as f:
install_requires = [str(r) for r in pkg_resources.parse_requirements(f)]
else:
install_requires = []
setup(
name="diffsynth_npu",
version="1.1.8",
description="Enjoy the magic of Diffusion models on NPU!",
author="Zhang Tao",
packages=find_packages(),
install_requires=install_requires,
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
package_data={"diffsynth_npu": ["tokenizer_configs/**/**/*.*"]},
python_requires='>=3.6',
)