Fix a badly-formatted Python block in the docs

The whole block is indented, though a code block with Python formatting is there.
This commit is contained in:
Diego Ramirez
2022-04-11 12:45:38 -05:00
committed by GitHub
parent 5824aecc5c
commit a7271b2750
+8 -8
View File
@@ -206,13 +206,13 @@ these steps into your package's build process. For example, if you're using
setuptools, you can add steps to your package's `setup.py` using a structure
like this:
```python
import subprocess
import setuptools
import setuptools.command.build_py
```python
import subprocess
import setuptools
import setuptools.command.build_py
class BuildPyCommand(setuptools.command.build_py.build_py):
class BuildPyCommand(setuptools.command.build_py.build_py):
"""Custom build command."""
def run(self):
@@ -222,14 +222,14 @@ like this:
setuptools.command.build_py.build_py.run(self)
setuptools.setup(
setuptools.setup(
cmdclass={
'build_py': BuildPyCommand,
},
# Usual setup() args.
# ...
)
```
)
```
#### Compiler flags