Files
AKharytonchyk d381a16182 Standardize project structure to match ComfyUI custom node conventions
- Fix pyproject.toml to proper Python package format
- Add node_list.json for ComfyUI Manager compatibility
- Reorganize class methods to follow ComfyUI patterns
- Add setup.py for Python package installation
- Add importable workflow JSON example
- Include proper version handling and metadata
- Follow standard ComfyUI custom node directory structure
2025-06-23 00:38:42 +02:00

37 lines
1.3 KiB
Python

from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
setup(
name="comfyui-telegram-bot-nodes",
version="1.0.0",
author="Your Name",
author_email="your.email@example.com",
description="ComfyUI custom nodes for Telegram bot integration",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/ComfyUI-telegram-bot-node",
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",
],
python_requires=">=3.8",
install_requires=requirements,
include_package_data=True,
package_data={
"": ["*.md", "*.txt", "*.json", "*.js"],
},
)