Update README.md

Removed publishing information and a wording fix.
This commit is contained in:
mcDandy
2025-08-27 09:30:30 +02:00
committed by GitHub
parent d4e4a97147
commit 042c1aec86
+3 -36
View File
@@ -10,6 +10,8 @@ Adds math nodes for numbers and types which do not need it. I got inspired by wa
1. Clone this repository into `ComfyUI/custom_nodes`.
1. Restart ComfyUI.
You can also get the node from comfy manager under the name of More math.
# Features
- expression parsing with support for functions and variables:
@@ -36,39 +38,4 @@ Adds math nodes for numbers and types which do not need it. I got inspired by wa
- X : X position in tensor - does not work on FLOAT and CONDITIONING
- Y : Y position in tensor - does not work on FLOAT and CONDITIONING
- I : Tensor used to initalise sampler before noise injection - usually zeroed out and generated by Empty Latent Image node - Exclusive for NOISE
- use constant e a pi
## Develop
To install the dev dependencies and pre-commit (will run the ruff hook), do:
```bash
cd more_math
pip install -e .[dev]
pre-commit install
```
The `-e` flag above will result in a "live" install, in the sense that any changes you make to your node extension will automatically be picked up the next time you run ComfyUI.
## Publish to Github
## Tests
This repo contains unit tests written in Pytest in the `tests/` directory. It is recommended to unit test your custom node.
- [build-pipeline.yml](.github/workflows/build-pipeline.yml) will run pytest and linter on any open PRs
- [validate.yml](.github/workflows/validate.yml) will run [node-diff](https://github.com/Comfy-Org/node-diff) to check for breaking changes
## Publishing to Registry
If you wish to share this custom node with others in the community, you can publish it to the registry. We've already auto-populated some fields in `pyproject.toml` under `tool.comfy`, but please double-check that they are correct.
You need to make an account on https://registry.comfy.org and create an API key token.
- [ ] Go to the [registry](https://registry.comfy.org). Login and create a publisher id (everything after the `@` sign on your registry profile).
- [ ] Add the publisher id into the pyproject.toml file.
- [ ] Create an api key on the Registry for publishing from Github. [Instructions](https://docs.comfy.org/registry/publishing#create-an-api-key-for-publishing).
- [ ] Add it to your Github Repository Secrets as `REGISTRY_ACCESS_TOKEN`.
A Github action will run on every git push. You can also run the Github action manually. Full instructions [here](https://docs.comfy.org/registry/publishing). Join our [discord](https://discord.com/invite/comfyorg) if you have any questions!
- use constant e and pi