ComfyUI-Manager/CONTRIBUTING.md
2025-04-13 08:40:28 +09:00

1001 B

Testing Changes

  1. Activate the ComfyUI environment.

  2. Build package locally after making changes.

# from inside the ComfyUI-Manager directory, with the ComfyUI environment activated
python -m build
  1. Install the package locally in the ComfyUI environment.
# Uninstall existing package
pip uninstall comfyui-manager

# Install the locale package
pip install dist/comfyui-manager-*.whl
  1. Start ComfyUI.
# after navigating to the ComfyUI directory
python main.py

Manually Publish Test Version to PyPi

  1. Set the PYPI_TOKEN environment variable in env file.

  2. If manually publishing, you likely want to use a release candidate version, so set the version in pyproject.toml to something like 0.0.1rc1.

  3. Build the package.

python -m build
  1. Upload the package to PyPi.
python -m twine upload dist/* --username __token__ --password $PYPI_TOKEN
  1. View at https://pypi.org/project/comfyui-manager/