Dateien nach "/" hochladen

This commit is contained in:
Manuel Kamper 2024-08-20 20:45:39 +02:00
parent 9d09f384dd
commit 743ebc9596

View File

@ -1,8 +1,8 @@
import setuptools import setuptools
from pathlib import Path from pathlib import Path
package_files = Path("iopaint/web_app").glob("**/*") package_files = Path("inpaint/web_app").glob("**/*")
package_files = [str(it).replace("iopaint/", "") for it in package_files] package_files = [str(it).replace("inpaint/", "") for it in package_files]
package_files += ["model/anytext/ocr_recog/ppocr_keys_v1.txt"] package_files += ["model/anytext/ocr_recog/ppocr_keys_v1.txt"]
package_files += ["model/anytext/anytext_sd15.yaml"] package_files += ["model/anytext/anytext_sd15.yaml"]
package_files += ["model/original_sd_configs/sd_xl_base.yaml"] package_files += ["model/original_sd_configs/sd_xl_base.yaml"]
@ -27,19 +27,19 @@ def load_requirements():
# https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files # https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files
setuptools.setup( setuptools.setup(
name="IOPaint", name="Image Sorter InPaint",
version="1.3.3", version="1.3.3",
author="PanicByte", author="Kamp",
author_email="cwq1913@gmail.com", author_email="manuel@kmpr.at",
description="Image inpainting, outpainting tool powered by SOTA AI Model", description="Image inpainting, outpainting tool powered by SOTA AI Model",
long_description=long_description, long_description=long_description,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
url="https://github.com/Sanster/IOPaint", url="https://git.kmpr.at/kamp/IOPaint",
packages=setuptools.find_packages("."), packages=setuptools.find_packages("."),
package_data={"iopaint": package_files}, package_data={"imagesorter-inpaint": package_files},
install_requires=load_requirements(), install_requires=load_requirements(),
python_requires=">=3.7", python_requires=">=3.7",
entry_points={"console_scripts": ["iopaint=iopaint:entry_point"]}, entry_points={"console_scripts": ["imagesorter-inpaint=inpaint:entry_point"]},
classifiers=[ classifiers=[
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent", "Operating System :: OS Independent",