Files
DiffSynth-Studio/setup.py
2024-06-27 18:23:44 +05:30

30 lines
868 B
Python

import os
from setuptools import setup, find_packages
import pkg_resources
# Path to the requirements file
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",
version="1.0.0",
description="A library for differential synthesis.",
author="Artiprocher",
packages=find_packages(),
install_requires=install_requires,
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)