From 036c1f75c2f271af8695a17593f5a492271a2ea4 Mon Sep 17 00:00:00 2001 From: userpj Date: Thu, 7 Nov 2024 20:07:30 +0800 Subject: [PATCH] update --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3e9327ff4..b2090b3ed 100755 --- a/setup.py +++ b/setup.py @@ -25,8 +25,9 @@ with open('requirements.txt') as f: requirements = f.read().splitlines() -packages = find_packages() +packages = [p.replace("python", "appbuilder") for p in find_packages()] package_data = {} + for package in packages: if package.startswith('appbuilder.utils'): package_data[package] = ["*.md"] @@ -45,6 +46,7 @@ author_email="dongdaxiang@baidu.com", packages=packages, package_data=package_data, + package_dir={"appbuilder": "python"}, install_requires=requirements, python_requires=">=3.9", extras_require={