Replies: 1 comment 6 replies
-
|
what did you try so far? did it work? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see it is possible to have a package name different from the directory containing the source files (#705).
Using an example
pyproject.tomlfile:In this case I would import the module using
import pkg_moduleand notpkg_name. Is it possible to have the name different from the directory name and yet import the module usingpkg_import_nameor something similar? Am I forced to rename the source directory to the name I want the user to import?Beta Was this translation helpful? Give feedback.
All reactions