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
-
I see it is possible to have a package name different from the directory containing the source files (#705).
Using an example
pyproject.toml
file:In this case I would import the module using
import pkg_module
and notpkg_name
. Is it possible to have the name different from the directory name and yet import the module usingpkg_import_name
or 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