Skip to content

Commit f78f75f

Browse files
chryslesinoroc
andauthored
Format code snippets
Co-authored-by: sinoroc <[email protected]>
1 parent ab57c77 commit f78f75f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/guides/packaging-namespace-packages.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ structure (following :ref:`src-layout <setuptools:src-layout>`):
8383
pyproject.toml # AND/OR setup.py, setup.cfg
8484
src/
8585
mynamespace/ # namespace package
86-
# No __init__.py here.
86+
# No __init__.py here.
8787
subpackage_a/
8888
# Sub-packages have an __init__.py.
8989
__init__.py
@@ -117,7 +117,7 @@ The same can be accomplished with a :file:`setup.cfg`:
117117

118118
.. code-block:: ini
119119
120-
[options]
120+
[options]
121121
package_dir =
122122
=src
123123
packages = find_namespace:
@@ -135,7 +135,7 @@ Or :file:`setup.py`:
135135
name='mynamespace-subpackage-a',
136136
...
137137
packages=find_namespace_packages(where='src/', include=['mynamespace.subpackage_a']),
138-
package_dir={"": "src"},
138+
package_dir={'': 'src'},
139139
)
140140
141141
:ref:`setuptools` will search the directory structure for implicit namespace

0 commit comments

Comments
 (0)