-
-
Notifications
You must be signed in to change notification settings - Fork 837
Closed
Labels
bugdeploymentIssues with setuptools based application deploymentIssues with setuptools based application deployment
Milestone
Description
Description
Encountering this error:
error: Multiple top-level packages discovered in a flat-layout: ['models', 'textures'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
Steps to Reproduce
Run ..\..\built_x64\python\python.exe setup.py bdist_apps
with setuptools>=61.0.0
Known Workaround
Add py_modules=[]
to the list of parameters in setup()
.
Environment
- Operating system: Windows
- System architecture: amd64
- Panda3D version: 9508b04
- Installation method: source
- Python version (if using Python): 3.8
- Compiler (if using C++): MSVC 2022
Metadata
Metadata
Assignees
Labels
bugdeploymentIssues with setuptools based application deploymentIssues with setuptools based application deployment