diff --git a/README.md b/README.md index 410eb3b..eeb8dcc 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ pip install . # normal install: copies the package in ### Install from git ```bash -pip install git+@main +pip install git+https://gitea.koszewscy.waw.pl/koszewscy/python-helpers.git@main ``` ### Running without installing @@ -43,31 +43,6 @@ PYTHONPATH=/path/to/python-helpers python3 -m python_helpers.cli.token_decoder - The module path replaces the installed command's short hyphenated name; the underlying `main()` and behavior are identical. -### Install from the Gitea package registry - -```bash -pip install --index-url https://:@/api/packages//pypi/simple python-helpers -``` - -## Publishing - -Add the registry to `~/.pypirc`: - -``` -[distutils] -index-servers = gitea - -[gitea] -repository = https:///api/packages//pypi -username = -password = -``` - -```bash -pip install build twine -python3 -m build -python3 -m twine upload --repository gitea dist/* -``` > **Note** a name and version already in the registry cannot be republished. Raise `version` > in `pyproject.toml` before each upload.