Commit Graph

20 Commits

Author SHA1 Message Date
Jack Jansen 620c0837bd Actually *do* override the type in AppBuilder. 2003-03-05 14:44:54 +00:00
Jack Jansen cc81b80710 Moved some application-bundle specific code from the BundleBuilder class to
AppBuilder, and set the default type to BNDL (overridden in AppBuilder).

This surfaced when trying to build help bundles.
2003-03-05 14:42:18 +00:00
Just van Rossum 0ff7a4e7c1 use the same Python for running the bootstrap script and the main program 2003-02-26 11:27:56 +00:00
Just van Rossum ddf5283ad1 remove sitecustomize hack, will be solved elsewhere 2003-02-26 11:07:59 +00:00
Jack Jansen ade626464d Reverted the rev. 1.8 change: the magic for decoding resourcefiles
is now in buildtools.
2003-02-25 22:58:33 +00:00
Just van Rossum 4983331385 tweak error message 2003-02-25 21:08:12 +00:00
Just van Rossum 7215e08846 - renamed the --copyfile option to --file.
- tweaked the help text a little.
(Jack: up to you to change your client code.)
2003-02-25 21:00:55 +00:00
Just van Rossum 8a3ed3f81e added some comments, minor tweaks 2003-02-25 20:53:12 +00:00
Just van Rossum 7322b1ad46 Resolving parts of #688907:
- Replaced bootstrap shell script with Python script. This means
  standalone apps built with bundlebuilder will not work on MacOS < 10.1,
  since we depend (again) on an installed Python.
- Add a hack to set sys.executable; the bootstrap script does os.execve()
  with an argv[0] that's different from the actual Python executable
  (it has to match the CFBundleExecutable entry in the Info.plist to make
  the app work both from the Finder and the command line, and it has to be
  the bootstrap script), yet a proper sys.executable is needed to spawn
  auxiliary processes.
2003-02-25 20:15:40 +00:00
Jack Jansen 00cbf07ca7 Added a -c (--copyfile) option with argument src:dst which copies file src
into dst in the bundle. The Python API already had this functionality
2003-02-24 16:27:08 +00:00
Jack Jansen a03adde31b Added an argv_emulation option (command line option: --argv or -a) which
creates the sys.argv emulation wrapper for droplets. Also updates
the plist, if needed, and the includedModules (but this last is untested).
2003-02-18 23:29:46 +00:00
Jack Jansen d6a3f93070 Use "$@" to pass arguments to Python in stead of "${1}". This passes all
arguments, and also does the right thing for the no argument case.
2003-02-18 11:24:31 +00:00
Jack Jansen 946c19445c When installing resource files whose name ends in .rsrc use the
"copy anything to a data fork based resource file" trick of macresource.
Fixes #688007.
2003-02-17 16:47:12 +00:00
Just van Rossum c96d6ce3c2 Thank you sir, can I have another. 2003-02-12 16:19:39 +00:00
Just van Rossum 9af6968b90 jeez, now I know why I shouldn't even _want_ to learn sh. 2003-02-02 18:56:37 +00:00
Just van Rossum 2aa09566c5 icon support by Robin Dunn, closes patch #678218 2003-02-01 08:34:46 +00:00
Just van Rossum 504377d4dd make sure src exists before creating a symlink 2003-01-17 20:02:06 +00:00
Just van Rossum 9896ea24f9 make sure Info.plist has a CFBundleIdentifier entry 2003-01-13 23:30:04 +00:00
Just van Rossum 109ecbf7a5 Replaced imp.set_frozenmodules() cruft with proper zipimport support.
This work uncovered the zipimport bug in 2.3a1 -- wish I'd had time to
do this before the release :-(.
2003-01-02 13:13:01 +00:00
Jack Jansen 60087fb450 Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on
Mac OS X). The only items remaining in Mac/Lib are modules that are
meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences
in resources, etc).
2002-12-30 22:04:23 +00:00