mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #2245] [MERGED] changed: packaging for publishing #20940
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2245
Author: @tcztzy
Created: 5/14/2024
Status: ✅ Merged
Merged: 5/22/2024
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (3)
d5a4ab4changed: packaging using rye and use file relative path instead of pwd relative.a018df2infra: buildb609896add: github action📊 Changes
8 files changed (+1612 additions, -17 deletions)
View changed files
➕
.github/workflows/ci.yml(+31 -0)📝
backend/apps/web/internal/db.py(+4 -2)📝
backend/config.py(+21 -15)➕
backend/open_webui/__init__.py(+60 -0)➕
hatch_build.py(+21 -0)➕
pyproject.toml(+115 -0)➕
requirements-dev.lock(+680 -0)➕
requirements.lock(+680 -0)📄 Description
…d relative.
Pull Request Checklist
devbranch.Description
Packaging
open-webuias 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
openwebuiis 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.shandbackend/start_windows.batnow can be removed, but weather delete them or not is depend on you.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.