@@ -314,7 +314,7 @@ \chapter{Writing the Setup Script}
314314\end {verbatim }
315315
316316
317- \subsection {Listing whole packages }
317+ \section {Listing whole packages }
318318\label {listing-packages }
319319
320320The \option {packages} option tells the Distutils to process (build,
@@ -369,7 +369,7 @@ \subsection{Listing whole packages}
369369\file {\_\_ init\_\_ .py} file.)
370370
371371
372- \subsection {Listing individual modules }
372+ \section {Listing individual modules }
373373\label {listing-modules }
374374
375375For a small module distribution, you might prefer to list all modules
@@ -390,7 +390,7 @@ \subsection{Listing individual modules}
390390the \option {package\_ dir} option.
391391
392392
393- \subsection {Describing extension modules }
393+ \section {Describing extension modules }
394394\label {describing-extensions }
395395
396396% XXX read over this section
@@ -433,7 +433,7 @@ \subsection{Describing extension modules}
433433explained in the following sections.
434434
435435
436- \subsubsection {Extension names and packages }
436+ \subsection {Extension names and packages }
437437
438438The first argument to the \class {Extension} constructor is always the
439439name of the extension, including any package names. For example,
@@ -469,7 +469,7 @@ \subsubsection{Extension names and packages}
469469\file {bar.c} to \module {pkg.subpkg.bar}.
470470
471471
472- \subsubsection {Extension source files }
472+ \subsection {Extension source files }
473473
474474The second argument to the \class {Extension} constructor is a list of
475475source files. Since the Distutils currently only support C, \Cpp , and
@@ -494,7 +494,7 @@ \subsubsection{Extension source files}
494494(\file {.res}) files and linked into the executable.
495495
496496
497- \subsubsection {Preprocessor options }
497+ \subsection {Preprocessor options }
498498
499499Three optional arguments to \class {Extension} will help if you need to
500500specify include directories to search or preprocessor macros to
@@ -581,7 +581,7 @@ \subsubsection{Preprocessor options}
581581\end {verbatim }
582582
583583
584- \subsubsection {Library options }
584+ \subsection {Library options }
585585
586586You can also specify the libraries to link against when building your
587587extension, and the directories to search for those libraries. The
@@ -612,7 +612,7 @@ \subsubsection{Library options}
612612
613613\XXX {Should mention clib libraries here or somewhere else!}
614614
615- \subsubsection {Other options }
615+ \subsection {Other options }
616616
617617There are still some other options which can be used to handle special
618618cases.
@@ -631,7 +631,7 @@ \subsubsection{Other options}
631631will automatically add \code {initmodule}
632632to the list of exported symbols.
633633
634- \subsection {Installing Scripts }
634+ \section {Installing Scripts }
635635So far we have been dealing with pure and non-pure Python modules,
636636which are usually not run by themselves but imported by scripts.
637637
@@ -652,7 +652,7 @@ \subsection{Installing Scripts}
652652\end {verbatim }
653653
654654
655- \subsection {Installing Package Data }
655+ \section {Installing Package Data }
656656
657657Often, additional files need to be installed into a package. These
658658files are often data that's closely related to the package's
@@ -701,7 +701,7 @@ \subsection{Installing Package Data}
701701\versionadded {2.4}
702702
703703
704- \subsection {Installing Additional Files }
704+ \section {Installing Additional Files }
705705
706706The \option {data\_ files} option can be used to specify additional
707707files needed by the module distribution: configuration files, message
@@ -739,7 +739,7 @@ \subsection{Installing Additional Files}
739739To install data files directly in the target directory, an empty
740740string should be given as the directory.
741741
742- \subsection {Additional meta-data }
742+ \section {Additional meta-data }
743743\label {meta-data }
744744
745745The setup script may include additional meta-data beyond the name and
@@ -846,7 +846,7 @@ \subsection{Additional meta-data}
846846\end {verbatim }
847847
848848
849- \subsection {Debugging the setup script }
849+ \section {Debugging the setup script }
850850
851851Sometimes things go wrong, and the setup script doesn't do what the
852852developer wants.
@@ -1051,7 +1051,7 @@ \chapter{Creating a Source Distribution}
10511051
10521052
10531053
1054- \subsection {Specifying the files to distribute }
1054+ \section {Specifying the files to distribute }
10551055\label {manifest }
10561056
10571057If you don't supply an explicit list of files (or instructions on how to
@@ -1156,7 +1156,7 @@ \subsection{Specifying the files to distribute}
11561156That way, the manifest template is portable across operating systems.
11571157
11581158
1159- \subsection {Manifest-related options }
1159+ \section {Manifest-related options }
11601160\label {manifest-options }
11611161
11621162The normal course of operations for the \command {sdist} command is as
@@ -1324,14 +1324,14 @@ \chapter{Creating Built Distributions}
13241324commands.
13251325
13261326
1327- \subsection {Creating dumb built distributions }
1327+ \section {Creating dumb built distributions }
13281328\label {creating-dumb }
13291329
13301330\XXX {Need to document absolute vs. prefix-relative packages here, but
13311331 first I have to implement it!}
13321332
13331333
1334- \subsection {Creating RPM packages }
1334+ \section {Creating RPM packages }
13351335\label {creating-rpms }
13361336
13371337The RPM format is used by many popular Linux distributions, including
@@ -1455,7 +1455,7 @@ \subsection{Creating RPM packages}
14551455% to the \file{.spec} file.)
14561456
14571457
1458- \subsection {Creating Windows Installers }
1458+ \section {Creating Windows Installers }
14591459\label {creating-wininst }
14601460
14611461Executable installers are the natural format for binary distributions
@@ -1508,7 +1508,7 @@ \subsection{Creating Windows Installers}
15081508--- normally \file {dist/}, but customizable with the
15091509\longprogramopt {dist-dir} option.
15101510
1511- \subsubsection {The Postinstallation script }
1511+ \subsection {The Postinstallation script }
15121512\label {postinstallation-script }
15131513
15141514Starting with Python 2.3, a postinstallation script can be specified
@@ -1982,7 +1982,7 @@ \chapter{Command Reference}
19821982\label {reference }
19831983
19841984
1985- % \subsection {Building modules: the \protect\command{build} command family}
1985+ % \section {Building modules: the \protect\command{build} command family}
19861986% \label{build-cmds}
19871987
19881988% \subsubsection{\protect\command{build}}
@@ -3510,41 +3510,41 @@ \section{\module{distutils.command.config} --- Perform package configuration}
35103510
35113511% todo
35123512
3513- \subsubsection {\module {distutils.command.install} --- Install a package }
3513+ \section {\module {distutils.command.install} --- Install a package }
35143514\declaremodule {standard}{distutils.command.install}
35153515\modulesynopsis {Install a package}
35163516
35173517% todo
35183518
3519- \subsubsection {\module {distutils.command.install_data}
3519+ \section {\module {distutils.command.install_data}
35203520 --- Install data files from a package }
35213521\declaremodule [distutils.command.installdata]{standard}{distutils.command.install_data}
35223522\modulesynopsis {Install data files from a package}
35233523
35243524% todo
35253525
3526- \subsubsection {\module {distutils.command.install_headers}
3526+ \section {\module {distutils.command.install_headers}
35273527 --- Install C/\Cpp {} header files from a package }
35283528\declaremodule [distutils.command.installheaders]{standard}{distutils.command.install_headers}
35293529\modulesynopsis {Install C/\Cpp {} header files from a package}
35303530
35313531% todo
35323532
3533- \subsubsection {\module {distutils.command.install_lib}
3533+ \section {\module {distutils.command.install_lib}
35343534 --- Install library files from a package }
35353535\declaremodule [distutils.command.installlib]{standard}{distutils.command.install_lib}
35363536\modulesynopsis {Install library files from a package}
35373537
35383538% todo
35393539
3540- \subsubsection {\module {distutils.command.install_scripts}
3540+ \section {\module {distutils.command.install_scripts}
35413541 --- Install script files from a package }
35423542\declaremodule [distutils.command.installscripts]{standard}{distutils.command.install_scripts}
35433543\modulesynopsis {Install script files from a package}
35443544
35453545% todo
35463546
3547- \subsubsection {\module {distutils.command.register}
3547+ \section {\module {distutils.command.register}
35483548 --- Register a module with the Python Package Index }
35493549\declaremodule {standard}{distutils.command.register}
35503550\modulesynopsis {Register a module with the Python Package Index}
@@ -3553,7 +3553,7 @@ \subsubsection{\module{distutils.command.register}
35533553Index. This is described in more detail in \pep {301}.
35543554% todo
35553555
3556- \subsubsection {Creating a new Distutils command }
3556+ \section {Creating a new Distutils command }
35573557
35583558This section outlines the steps to create a new Distutils command.
35593559
0 commit comments