Commit Graph

52 Commits

Author SHA1 Message Date
Jack Jansen 6045b9c935 Temporary fix for buildon on both Panther and Jaguar. 2003-11-19 13:56:40 +00:00
Jack Jansen 47e8f16b1e Upped version 2003-11-19 13:33:19 +00:00
Jack Jansen dffeaf4732 Scripts runs with pythonw no longer had full window manager access due
to the name change of Python.app/Contents/MacOS/python to
Python.app/Contents/MacOS/Python. Fixes #776116.
2003-07-23 10:49:17 +00:00
Fred Drake 8851c62b81 removed trailing tabs in several places, including after the final
newline
2003-07-07 17:38:26 +00:00
Jack Jansen dd614fdc51 Fixed lots of minor issues found by Edward Moy: incorrect version
strings, non-standard naming of things in bundles, etc.
2003-07-04 13:06:14 +00:00
Jack Jansen 276b2900b8 Added missing newline at end of file. 2003-07-04 12:05:25 +00:00
Jack Jansen e2ff8be761 Moved the IDE tutorial to a directory with a shorter name. The long
name was giving problems with some tar implementations.
2003-07-02 09:20:09 +00:00
Jack Jansen d2544e32f5 Give compileall a -d option so it works correctly in the face of
DESTDIR being non-null.
2003-06-21 22:07:16 +00:00
Jack Jansen 94d09f84be Installation of PythonLauncher has been failing silently, probably since
the DESTDIR patch. Fixed.
2003-06-20 14:33:38 +00:00
Jack Jansen a1b77584f2 Added a target frameworkinstallextras (OSX framework build specific,
and not part of a normal frameworkinstall) that installs Demo and Tools
and a readme file into /Applications/MacPython-2.3/Extras. This will
give people access to the demos and tools if they instal Python through
the binary installer.
2003-06-19 22:35:20 +00:00
Jack Jansen d3295baad7 Patch #755147 by Brian Lenihan:
- Build idle from new location
- use ln -fsn when linking files.
2003-06-16 09:47:25 +00:00
Jack Jansen 9592fe9a49 Fixed the DESTDIR modifications to also allow MacOSX framework builds
to be installed to a different location. This should make the OSX binary
installer building a lot simpler.
2003-05-25 22:01:32 +00:00
Jack Jansen a226b5723a Pass DIRMODE and FILEMODE to Mac/OSX/Makefile on framework builds (and
honor them). Use this when building the MacOSX binary installer to
get group-writeable files.

Ths fix works for directories and executables, not for files just yet,
because of bug #735274.
2003-05-09 15:08:39 +00:00
Jack Jansen 54e7d2c029 Get rid of Mac.pth: plat-mac is now added through the normal mechanism. 2003-03-17 15:45:38 +00:00
Jack Jansen 82f1d2ce17 Add a simple Apple Help book to the framework. 2003-03-11 23:07:08 +00:00
Jack Jansen 04087b56ec In Mac OS X framework builds don't assume that the executable will be
called python.exe but actually pass it from the main Makefile to
Mac/OSX/Makefile. This makes framework builds work again on case
sensitive filesystems. Fixes bug #677753.
2003-02-25 12:41:10 +00:00
Jack Jansen ec43f64092 Fix building of Idle applet. 2003-02-24 16:30:24 +00:00
Jack Jansen 4ccf3e14f0 Undid half of the previous checkin: continue using BuildApplet for most
applets. PackageManager is still built with bundlebuilder itself.
2003-02-18 23:33:39 +00:00
Jack Jansen d78003671a Use bundlebuilder directly to build applets. 2003-02-12 15:42:49 +00:00
Jack Jansen 50abec8fc4 Install "python$(VERSION)" into /usr/local as the symlink to the framework,
and also create a symlink "python" pointing to "python$(VERSION)".
Fixes #675745.
2003-01-28 21:45:44 +00:00
Jack Jansen 83f898c86c Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
knows about plat-mac subdirectories, and configure adds a variable
EXTRAPLATDIR. These together take care of copying Lib/plat-mac to
the destination on darwin.

Adding plat-mac is still done with a .pth file which is only created when
you do a framework build. I'm not 100% happy with this, but fixing it
really needs a functional pythonw in non-framework builds, and I don't
think I can do that before 2.3a1 (but I'll try:-).
2002-12-30 22:23:40 +00:00
Jack Jansen cfe28362fb Changed folder name for apps from Python to MacPython-$(VERSION) (for a
normal 2.3 framework install) and MacPython-OSX-$(VERSION) (for the
experimental Jaguar addon install).
2002-12-25 22:31:28 +00:00
Jack Jansen 1ebcc4427a Build PythonLauncher for MacPython-OSX 2.2 as well. 2002-11-20 14:06:16 +00:00
Jack Jansen 7d996a2bb7 - Building IDE is optional on waste being available, similar to building
IDLE (it was a fatal error before)
- Shuffled a few things around to facilitate the experimental building
  of MacPython for Jaguar's pre-installed python.
2002-11-11 00:05:00 +00:00
Jack Jansen dde800ec4e Got rid of the python.rsrc resource file. The error message strings and
dialogs are now stored in Mac/Lib, and loaded on demand through macresource.
Not only does this simplify a MacPython based on Apple's Python, but
it also makes Mac error codes come out symbolically when running command
line python (if you have Mac/Lib in your path).

The resource files are copied from Mac/Resources. The old ones will disappear
after the OS9 build procedure has been adjusted.
2002-11-07 23:07:05 +00:00
Jack Jansen 76a6ab661b Patch by Tony Lownds: build an IDLE applet too, if _tkinter is available.
I modified the patch to make it a non-fatal error if IDLE isn't built.
2002-09-12 22:19:23 +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 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 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 940dc922c0 Build the IDE last, as it may fail because of waste missing. 2002-08-02 21:46:40 +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 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 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 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 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 be67f8a5bf removed debug print. 2001-09-11 13:00:16 +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