Skip to content

Wheel only includes submodules at top level, sdist is great #3185

Answered by jwodder
spensmith asked this question in Q&A
Discussion options

You must be logged in to vote

The package_dir setting 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 the package_dir setting along with your [options.packages.find] section, which (as written here) only makes sense if you're trying to package the code inside proj but not proj itself.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@spensmith
Comment options

@jwodder
Comment options

@spensmith
Comment options

Answer selected by spensmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants