51 lines
1.9 KiB
Python
51 lines
1.9 KiB
Python
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup, find_packages
|
|
import os
|
|
|
|
# Read the README file
|
|
def read_readme():
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
return fh.read()
|
|
|
|
# Read requirements
|
|
def read_requirements():
|
|
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
|
return [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
|
|
|
setup(
|
|
name="ComfyUI-color-tools",
|
|
version="1.0.0",
|
|
author="Your Name",
|
|
author_email="your.email@example.com",
|
|
description="A ComfyUI custom node for reading color profiles and color space information from image files",
|
|
long_description=read_readme(),
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/yourusername/ComfyUI-color-tools",
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Topic :: Multimedia :: Graphics",
|
|
"Topic :: Scientific/Engineering :: Image Processing",
|
|
],
|
|
python_requires=">=3.8",
|
|
install_requires=read_requirements(),
|
|
include_package_data=True,
|
|
package_data={
|
|
"": ["*.json", "*.md", "*.txt"],
|
|
},
|
|
keywords="comfyui, color, image-processing, icc-profile, color-management",
|
|
project_urls={
|
|
"Bug Reports": "https://github.com/yourusername/ComfyUI-color-tools/issues",
|
|
"Source": "https://github.com/yourusername/ComfyUI-color-tools",
|
|
"Documentation": "https://github.com/yourusername/ComfyUI-color-tools#readme",
|
|
},
|
|
) |