Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fdf427f5
Commit
fdf427f5
authored
Sep 06, 2002
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the notes on building a binary installer.
parent
997429a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
Mac/OSX/README
Mac/OSX/README
+15
-2
No files found.
Mac/OSX/README
View file @
fdf427f5
...
...
@@ -127,15 +127,28 @@ there, run
This installs a complete distribution set in /tmp/pythondist: in a framework
build all other pathnames are computed from the framework pathname.
Optionally you may want to include the full documentation in the binary installer.
To this end, execute the following commands:
python.exe ../Mac/OSX/setupDocs.py build
python.exe ../Mac/OSX/setupDocs.py install \
--prefix=/tmp/python/Library/Frameworks/Python.framework/Versions/Current
Note that the unix tools in /tmp/pythondist are wrong, these have to be
removed, and the installer post-install script should recreate them on the
target system. Also, the .pyc and .pyo files need to be removed:
rm -rf /tmp/pythondist/usr
python.exe ../Mac/script/zappycfiles.py /tmp/pythondist
TBD: find out how to make a .pkg from here.
Finally, create the .pkg file with a commandline like
python ../Mac/scripts/buildpkg.py \
--Title=MacPython-X \
--Version=2.3a0 \
--Description="Python for Mac OS X, framework based" \
/tmp/pythondist
This creates a MacPython-X.pkg in the current directory.
TBD: documentation.
TBD: provide postinstall scripts to precompile .pyc/.pyo files, and to recreate
the unix programs.
7. Odds and ends.
-----------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment