Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PYPI_TOKEN=your-pypi-token
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ pip_overrides.json
check2.sh
/venv/
build
*.egg-info
*.egg-info
.env
47 changes: 47 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Testing Changes

1. Activate the ComfyUI environment.

2. Build package locally after making changes.

```bash
# from inside the ComfyUI-Manager directory, with the ComfyUI environment activated
python -m build
```

3. Install the package locally in the ComfyUI environment.

```bash
# Uninstall existing package
pip uninstall comfyui-manager

# Install the locale package
pip install dist/comfyui-manager-*.whl
```

4. Start ComfyUI.

```bash
# 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](pyproject.toml) to something like `0.0.1rc1`.

3. Build the package.

```bash
python -m build
```

4. Upload the package to PyPi.

```bash
python -m twine upload dist/* --username __token__ --password $PYPI_TOKEN
```

5. View at https://pypi.org/project/comfyui-manager/
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "comfyui-manager"
license = { text = "GPL-3.0-only" }
version = "4.0"
version = "4.0.0-beta.1"
requires-python = ">= 3.9"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
readme = "README.md"
Expand Down