Skip to content

Commit

Permalink
Merge pull request #4541 from DimitriPapadopoulos/docs_package_discovery
Browse files Browse the repository at this point in the history
Fix example code in documentation
  • Loading branch information
abravalheri authored Aug 4, 2024
2 parents 76942cf + fec08a8 commit 46fe699
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/userguide/package_discovery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ exactly to the directory structure, you also need to configure ``package_dir``:
package_dir = {
"mypkg": "lib", # mypkg.module corresponds to lib/module.py
"mypkg.subpkg1": "lib1", # mypkg.subpkg1.module1 corresponds to lib1/module1.py
"mypkg.subpkg2": "lib2" # mypkg.subpkg2.module2 corresponds to lib2/module2.py
"mypkg.subpkg2": "lib2", # mypkg.subpkg2.module2 corresponds to lib2/module2.py
# ...
}
)
.. tab:: pyproject.toml
Expand Down

0 comments on commit 46fe699

Please sign in to comment.