Skip to content

Commit

Permalink
LL: naming gymnastic at the end with a little joke :).
Browse files Browse the repository at this point in the history
  • Loading branch information
LLyaudet committed Dec 10, 2023
1 parent fcff555 commit 401d037
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/discussions/choosing-a-package-module-name.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ use a normalization of project name.
This normalization will match an import package name chosen consistently
by normalization of the project name.
You may see an interest in installing a wheel named ``abcd_1234-1.0.0-py3-none-any.whl``,
and having as a result ``abcd_1234-1.0.0.dist-info`` and ``abcd_1234/`` (or ``abcd_1234.py``) in your installation directory :).
and having as a result ``abcd_1234-1.0.0.dist-info`` and ``abcd_1234/`` (or ``abcd_1234.py``) in your installation directory :)
(instead of a project ``aBcD-1234``, a wheel ``abcd_1234-1.0.0-py3-none-any.whl``, installing ``abcd_1234-1.0.0.dist-info`` and ``4-3-2-1cDbA/`` ;) ).

.. _question: https://stackoverflow.com/questions/8350853/how-to-import-module-when-module-name-has-a-dash-or-hyphen-in-it

0 comments on commit 401d037

Please sign in to comment.