Jack Jansen
fdf427f584
Updated the notes on building a binary installer.
2002-09-06 21:55:47 +00:00
Jack Jansen
1f74ed8c4c
Fixed a typo in the binary install notes
...
rewrapped: as usual with my files everything was far wider than 80 chars.
2002-09-06 21:00:55 +00:00
Jack Jansen
8ba4220637
Started on documentation for building a MacOSX binary installer.
...
Unfinished.
2002-09-06 20:24:51 +00:00
Jack Jansen
94fab762de
Generate pythonw.sh on the fly.
...
Use the build python for as many things as possible.
2002-09-02 12:29:11 +00:00
Jack Jansen
e3d9f405e9
Pass -x badsyntax to compileall.
...
Tweaks to make builds work for non-standard dstroot.
2002-09-02 12:16:00 +00:00
Jack Jansen
bdbff73feb
Fix for Jaguar: use ln for installing symlinks, install no longer works.
...
Fix for sh: use : in stead of an empty then clause in an if.
2002-08-30 15:14:02 +00:00
Jack Jansen
b05e056e9f
On Jaguar the default mode for files in the installed product is 444 (or 555)
...
in stead of 644 (755). This makes a subsequent install fail. Changed
the INSTALL_MODE_FLAG to fix this.
2002-08-30 12:56:08 +00:00
Jack Jansen
278a3a22d7
Distutils-based script by Bill Fancher to download the Python documentation
...
HTML tarball and use it to create a documentation tree readable and
searchable with Apple Help Viewer. The documentation also shows up in
Project Builder (if you add Python.framework to your project).
2002-08-28 22:22:10 +00:00
Jack Jansen
4684a09fc5
- Install a symlink to the documentation (which lives in the framework)
...
in Python.app, and refer to it in Info.plist. This makes Apple Help
Viewer recognize the Python documentation.
- Changed the externally visible name of Python.app to "Python" (was PythonW).
2002-08-28 21:27:02 +00:00
Jack Jansen
81204152d4
Try to cater for a source tree checked out with MacCVS in stead of
...
unix cvs. In this case the resource files are actual resource files
in stead of AppleSingle encoded files.
2002-08-15 21:31:18 +00:00
Jack Jansen
7a1703d8cb
Updated for the current state of affairs.
2002-08-12 20:46:18 +00:00
Jack Jansen
45c8e92728
- Precompile py files in Mac subtree after installing
...
- Pre-cache .rsrc files in Mac subtree after installing
- Fixed nameclash in Make variables
2002-08-09 14:15:46 +00:00
Jack Jansen
cb4321eb17
By popular demand the frameworkinstall target now installs everything:
...
the framework, the MacOSX apps and the unix tools.
Most of the hard work is done by Mac/OSX/Makefile.
Also, it should now be possible to install in a different directory,
such as /tmp/dist/Library/Frameworks, for building binary installers.
The fink crowd wanted this.
2002-08-09 00:18:21 +00:00
Jack Jansen
b2bb87300b
Quote the arguments, they may contain strings.
2002-08-07 14:05:58 +00:00
Jack Jansen
0e0a479821
Added an icon for .pyw files.
2002-08-02 22:32:41 +00:00
Jack Jansen
940dc922c0
Build the IDE last, as it may fail because of waste missing.
2002-08-02 21:46:40 +00:00
Jack Jansen
0fdaee7419
Added a lot more information on framework builds, the various .app's,
...
etc. Still not enough, probably, but better than what we had.
2002-08-02 21:45:27 +00:00
Jack Jansen
337f85d34f
Updated for the new path to Python.app.
2002-08-02 21:05:16 +00:00
Jack Jansen
f80798b1ca
When building the IDE check that waste is available, to forestall
...
surprises later (the IDE won't work without waste).
2002-08-02 21:04:46 +00:00
Jack Jansen
940e970f6e
Also create BuildApplet. It's useful enough as a standalone application.
2002-08-02 15:32:12 +00:00
Jack Jansen
21ed16acbe
Added one call to Py_Main(), for OSX framework builds only, that will get the
...
actual script to run in case we are running from an applet. If we are indeed
running an applet we skip the normal option processing leaving it all to the
applet code.
This allows us to get use the normal python binary in the Python.app bundle,
giving us all the normal command line options through PythonLauncher while
still allowing Python.app to be used as the template for building applets.
Consequently, pythonforbundle is gone, and Mac/Python/macmain.c isn't used
on OSX anymore.
2002-08-02 14:11:24 +00:00
Jack Jansen
be3e1f7a95
Python.app is now a hidden application, deep in the framework. It will
...
be invoked by PythonLauncher when needed.
Also changed the names of various variables in the Makefile to match
what the main Makefile has.
2002-08-01 21:14:06 +00:00
Jack Jansen
0a3d6060d5
Only show the UI for selecting options if the ALT key was depressed while
...
dragging or double-clicking the script.
2002-08-01 15:07:00 +00:00
Jack Jansen
cce7e34aeb
- Install into /Applications/Python in stead of into /Applications.
...
- Build PythonLauncher.app and PythonIDE.app as well as Python.app.
2002-07-31 14:46:04 +00:00
Jack Jansen
40e2e51a7e
Install into /Applications/Python in stead of into /Applications.
2002-07-31 14:45:08 +00:00
Jack Jansen
b7276cdf71
Implemented starting Python in a terminal window. The implementation isn't
...
optimal, especially if Terminal wasn't running yet, but it works.
2002-07-31 13:15:59 +00:00
Jack Jansen
3bbb617ca4
First stab at the launcher application. This will be run when the user
...
doubleclicks a .py, .pyw or .pyc file. It runs the file by invoking the
relevant interpreter (either the command line Python in a terminal window
or a Python.app for GUI-based scripts). Interpreter to use and the options
to pass are settable through preferences.
If PythonLauncher wasn't running it does its thing for one script and exits.
If it was manually started before a dialog is presented where the user
can set the options to use, etc.
To be done:
- option-drag/doubleclick should always open the interactive dialog
- Terminal-window isn't done yet
- Should be reimplemented in Python, but pyobjc isn't part of the core.
- Various menu entries should be disabled.
2002-07-29 21:36:35 +00:00
Jack Jansen
c361f94e1c
Got rid of symlink target, and in stead have "make dontinstallmacsubtree"
...
which uses a .pth file to add the Mac/Lib from your source tree to sys.path.
Also put the Python version number in a variable.Killed by signal 2.
2002-07-08 13:34:23 +00:00
Jack Jansen
0b06be7b0b
Patch #557719 by Tony Lownds, slightly massaged by me: streamline the
...
OSX framework build process. Things fixed/modified:
- the filesystem case-sensitivity test now works for builds outside
the source directory
- various other fixes for building outside the source directory
- python.app now has a target in the main Makefile
- WASTE and AquaTk are found more automatically
2002-06-21 14:48:38 +00:00
Jack Jansen
dc74568782
Added missing dirs to LIBSUBDIRS, and reformatted it so it's easier to read
...
and maintain. Fixes #557482 .
2002-05-23 22:18:13 +00:00
Jack Jansen
77afbc0b3b
Add Mac/Lib/lib-scriptpackages to sys.path too.
2002-03-30 23:43:36 +00:00
Jack Jansen
2cce33f3bd
Added -Wno-long-double
2002-03-29 21:17:14 +00:00
Jack Jansen
0cd0e656ef
Added target "installunixprograms" which installs python and pythonw in
...
/usr/local/bin (referring to the framework-based interpreter and Python.app).
Added target symlinkmacsubtree to aid in debugging.
2002-03-29 14:18:18 +00:00
Jack Jansen
ab10ce6c6b
Shell script that invokes Python.app from the command line. Called pythonw
...
because of similarity to the same program on Windows.
2002-03-29 14:15:22 +00:00
Jack Jansen
fea155370e
Use full paths for Rez and DeRez, which may not be on $PATH. Fixes bug
...
#509074 .
2002-01-27 20:05:20 +00:00
Jack Jansen
c71efe0116
Also install the Tools directory on "make installmacsubtree".
2002-01-21 22:51:55 +00:00
Jack Jansen
109f0945e4
Added a note that you have to add Mac/Lib to sys.path after doing
...
a "make installmacsubtree".
2002-01-18 16:12:27 +00:00
Jack Jansen
fdc8d758ad
Include errors.rsrc in the Python.app resource file, so the error strings
...
are available in MacOS API exceptions.
2002-01-15 23:20:40 +00:00
Jack Jansen
b2fb202bc2
Updated, and converted line-endings to unix-style (oops:-)
2001-12-09 23:17:38 +00:00
Jack Jansen
be67f8a5bf
removed debug print.
2001-09-11 13:00:16 +00:00
Jack Jansen
408c16fad0
Added a note about making sure the Lac/Lib directory is in sys.path.
2001-09-11 11:30:02 +00:00
Jack Jansen
c432cba3f2
Install the dialog resources into the application bundle. The EasyDialogs
...
selftest now works.
2001-09-09 00:36:52 +00:00
Jack Jansen
02646fe6d3
Oops, this file is very outdated. Removed.
2001-09-08 13:57:16 +00:00
Jack Jansen
0511b764d1
Minimal instructions for using the Makefile here. Also a clear
...
statement that this is a proof-of-concept meant for people to
experiment with, nothing more.
2001-09-06 16:36:42 +00:00
Jack Jansen
638e5e39cf
Added targets to install the application, and to install mac-additions
...
in Python.
2001-09-06 16:33:57 +00:00
Jack Jansen
75ed167527
Rudimentary makefile for building the executable to go into a
...
fullblown OSX application. It is starting to work, but building
the application bundle is still handwork, and we need a minimal
readme file too.
2001-09-05 22:09:50 +00:00
Jack Jansen
7df9c60b8a
Steven Majewski's instructions for building the toolbox modules for
...
incorporating them in a vanilla Python under MacOSX (i.e. in a
non-MacPython-Python). Not complete and up-to-date right now, but
that'll be fixed shortly.
2001-02-16 21:48:24 +00:00