mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
MACOSX
* Remove junk documentation resources from the Python.app inside the framework (This is a left-over from the ancient Python IDE, which was removed before 2.5) * Ensure that the documentation is installed in a location where IDLE will see it
This commit is contained in:
parent
9a4414d76d
commit
f84d7e9ed2
26 changed files with 5 additions and 712 deletions
|
@ -614,10 +614,9 @@ def buildPythonDocs():
|
|||
runCommand('make update')
|
||||
runCommand('make html')
|
||||
os.chdir(curDir)
|
||||
if not os.path.exists(docdir):
|
||||
os.mkdir(docdir)
|
||||
os.rename(os.path.join(buildDir, 'build', 'html'),
|
||||
os.path.join(docdir, 'python-docs-html'))
|
||||
if os.path.exists(docdir):
|
||||
os.rmdir(docdir)
|
||||
os.rename(os.path.join(buildDir, 'build', 'html'), docdir)
|
||||
|
||||
|
||||
def buildPython():
|
||||
|
@ -663,7 +662,7 @@ def buildPython():
|
|||
runCommand("make")
|
||||
|
||||
print "Running make frameworkinstall"
|
||||
runCommand("make frameworkinstall DESTDIR=%s"%(
|
||||
runCommand("make install DESTDIR=%s"%(
|
||||
shellQuote(rootDir)))
|
||||
|
||||
print "Running make frameworkinstallextras"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue