-
|
I'm trying to use the basic example from the docs, basically just trying to install from wheel instead of from the sdist, but my wheel doesn't have a Starting from this directory: I tried using this setup.cfg: To generate this file structure, which is successfully generated in the source distribution: But the wheel has this structure: This makes it impossible to use: As there is no such module, only modules I also made a basic repo for this here: https://github.com/spensmith/setuptools-find. Steps to recreate:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
The |
Beta Was this translation helpful? Give feedback.
The
package_dirsetting is for declaring a directory (usually named "src") that contains your Python code; it is not used for the Python package directory itself. In your case, simply get rid of thepackage_dirsetting along with your[options.packages.find]section, which (as written here) only makes sense if you're trying to package the code insideprojbut notprojitself.