Fix broken pypi builds

build: add qbit_manage.py and web-ui to package

- Include qbit_manage.py in MANIFEST.in
- Add py_modules and package_data to setup.py for proper packaging of web-ui and VERSION files
This commit is contained in:
bobokun 2025-09-14 08:21:00 -04:00
parent 849dc1e1a8
commit 498fd90e71
No known key found for this signature in database
GPG key ID: B73932169607D927
3 changed files with 6 additions and 1 deletions

View file

@ -2,4 +2,5 @@ include README.md
include LICENSE
include VERSION
include SUPPORTED_VERSIONS.json
include qbit_manage.py
recursive-include web-ui *

View file

@ -1 +1 @@
4.6.3-develop1
4.6.3-develop2

View file

@ -22,6 +22,10 @@ setup(
name="qbit_manage",
# Packages to include into the distribution
packages=find_packages("."),
py_modules=["qbit_manage"],
package_data={
"modules": ["../web-ui/**/*", "../VERSION"],
},
include_package_data=True,
# Start with a small number and increase it with
# every change you make https://semver.org