I've been reading the python document "Distributing python modules", and found this function document in sysconfig module:<br><br><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 16px; ">This function is even more special-purpose, and should only be used from Python’s own build procedures.</span><br>
<div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 16px; "><p style="text-align: justify; line-height: 20px; "><span class="Apple-style-span" style="line-height: normal; font-size: 13px; "></span></p>
<dt id="distutils.sysconfig.set_python_build"><tt class="descclassname" style="background-color: transparent; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; font-size: 0.95em; ">distutils.<span class="highlight" style="background-color: rgb(251, 229, 78); ">sysconfig</span>.</tt><tt class="descname" style="background-color: transparent; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; font-size: 1.2em; font-weight: bold; ">set_python_build</tt><big>(</big><big>)</big><a class="headerlink" href="#distutils.sysconfig.set_python_build" title="Permalink to this definition" style="color: rgb(198, 15, 15); text-decoration: none; visibility: hidden; font-size: 0.8em; padding-top: 0px; padding-right: 4px; padding-bottom: 0px; padding-left: 4px; "></a></dt>
<dd style="margin-top: 3px; margin-bottom: 10px; margin-left: 30px; text-align: justify; line-height: 16px; ">Inform the <tt class="xref docutils literal" style="background-color: transparent; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; font-size: 0.95em; font-weight: bold; "><span class="pre">distutils.<span class="highlight" style="background-color: rgb(251, 229, 78); ">sysconfig</span></span></tt> module that it is being used as part of the build process for Python. This changes a lot of relative locations for files, allowing them to be located in the build area rather than in an installed Python.</dd>
<dd style="margin-top: 3px; margin-bottom: 10px; margin-left: 30px; text-align: justify; line-height: 16px; "><span class="Apple-style-span" style="font-size: small;"><br></span></dd></span><p></p><div>Where is this function? I cannot find it in distutils/sysconfig.py.</div>
<div><br></div><div>Thanks.</div><div><br></div>-- <br>Ray Allen<br>Best wishes!<br>
</div></div>