File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,15 +127,28 @@ there, run
127127This installs a complete distribution set in /tmp/pythondist: in a framework
128128build all other pathnames are computed from the framework pathname.
129129
130+ Optionally you may want to include the full documentation in the binary installer.
131+ To this end, execute the following commands:
132+ python.exe ../Mac/OSX/setupDocs.py build
133+ python.exe ../Mac/OSX/setupDocs.py install \
134+ --prefix=/tmp/python/Library/Frameworks/Python.framework/Versions/Current
135+
130136Note that the unix tools in /tmp/pythondist are wrong, these have to be
131137removed, and the installer post-install script should recreate them on the
132138target system. Also, the .pyc and .pyo files need to be removed:
133139 rm -rf /tmp/pythondist/usr
134140 python.exe ../Mac/script/zappycfiles.py /tmp/pythondist
135141
136- TBD: find out how to make a .pkg from here.
142+ Finally, create the .pkg file with a commandline like
143+ python ../Mac/scripts/buildpkg.py \
144+ --Title=MacPython-X \
145+ --Version=2.3a0 \
146+ --Description="Python for Mac OS X, framework based" \
147+ /tmp/pythondist
148+ This creates a MacPython-X.pkg in the current directory.
137149
138- TBD: documentation.
150+ TBD: provide postinstall scripts to precompile .pyc/.pyo files, and to recreate
151+ the unix programs.
139152
1401537. Odds and ends.
141154-----------------
You can’t perform that action at this time.
0 commit comments