improvements to requirements.txt and compatibility with 3.11

This commit is contained in:
Benjamin Berman 2023-08-01 10:26:11 -07:00 committed by Benjamin Berman
parent afef21fa6e
commit 0e964180e6
3 changed files with 6 additions and 2 deletions

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel", "pip"]
build-backend = "setuptools.build_meta"

View File

@ -14,7 +14,7 @@ pyyaml>=6.0
scikit-image>=0.20.0
jsonmerge>=1.9.0
clean-fid>=0.1.35
git+https://github.com/openai/CLIP.git@main#egg=clip
clip @ git+https://github.com/openai/CLIP.git@main#egg=clip
resize-right>=0.0.2
opencv-python>=4.7.0.72
albumentations>=1.3.0

View File

@ -132,11 +132,12 @@ setup(
description="",
author="",
version=version,
python_requires=">=3.9,<=3.11",
python_requires=">=3.9,<3.12",
# todo: figure out how to include the web directory to eventually let main live inside the package
# todo: see https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/ for more about adding plugins
packages=find_packages(where=".", include=['comfy', 'comfy_extras']),
install_requires=dependencies(),
setup_requires=["wheel"],
entry_points={
'console_scripts': [
# todo: eventually migrate main here