mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 17:47:44 -05:00
infra: publish to pypi.org using namespace package #772
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?
Originally created by @tcztzy on GitHub (May 1, 2024).
Is your feature request related to a problem? Please describe.
Publish this project to Pypi.org using namespace package.
Describe the solution you'd like
Once it is publish as a namespace like
open_webui, then third party developer can publish their package likeopen_webui.apps.<my_app>Describe alternatives you've considered
No
Additional context
No
@tjbck commented on GitHub (May 4, 2024):
Github workflow PR welcome!
@tcztzy commented on GitHub (May 6, 2024):
I can contribute but It will rename the top level
backenddirectory toopen-webui, would you accept such a big change? And we also need a Pypi organization account.@tjbck commented on GitHub (May 6, 2024):
If we can rename the
backenddirectory during our workflow that would be ideal.@tcztzy commented on GitHub (May 6, 2024):
it can be done without renaming the directory, but renaming the python imports is required in most cases. For example
30b053116d/backend/main.py (L20)should be refactored as
and
30b053116d/backend/main.py (L38)should be refactored as
apps/utils/constants/configare very common module names and will conflict with other packages.@tcztzy commented on GitHub (May 13, 2024):
Maybe we should publish it firstly, use
pipxwill install package separated from other, therefore name conflict is not a big problem@tjbck commented on GitHub (May 14, 2024):
I'll prioritise this in the near future!