changed: packaging for publishing #2245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…d relative.
Pull Request Checklist
dev
branch.Description
Packaging
open-webui
as a Python package with minimum modification. It is not rye-only, any package support PEP 517 can build and package at the root of this project.I also noticed that
openwebui
is currently not token in pypi.org, maybe it is a better choice?after packaging and publishing to pypi, we can declare namespace package as plugin system, then langchain agent support could be easily implemented.
Changelog Entry
Added
Changed
backend/config.py
) instead of pwd relative path inbackend/config.py
, so it can start backend at the root directory of this project.Additional Information
backend/requirements.txt
,backend/dev.sh
,backend/start.sh
andbackend/start_windows.bat
now can be removed, but weather delete them or not is depend on you.