diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..d745a98df --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel", "pip"] +build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index 2e0d4fca0..9cc2ec676 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.py b/setup.py index e2b77d35b..1c597b390 100644 --- a/setup.py +++ b/setup.py @@ -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