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={