Commit Graph

26 Commits

Author SHA1 Message Date
Ronald Oussoren 9545a23c7f In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Ronald Oussoren 2596758cb4 Fix build issues on OSX 10.6 (issue 6802) 2009-09-06 10:00:26 +00:00
Tim Peters ae6a5a73dc Whitespace normalization. 2006-06-07 20:40:06 +00:00
Ronald Oussoren 4b7a6c8b58 * If BuildApplet.py is used as an applet it starts with a version of
sys.exutable that isn't usuable on an #!-line. That results in generated
  applets that don't actually work. Work around this problem by resetting
  sys.executable.
* argvemulator.py didn't work on intel macs. This patch fixes this
  (bug #1491468)
2006-06-07 20:18:44 +00:00
Jack Jansen c77f6dfd92 Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destroot
option to various tools, and do the right thing when we're doing a destroot
install.

Will backport to 2.4 and 2.3.
2004-12-27 15:51:03 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen 8ba0e80117 Added a --python option, which sets the python to be used in the #! line
in the bootstrap script of the applet.
2003-05-25 22:00:17 +00:00
Jack Jansen af1d4225b8 Allow specifiying the destination for --extra files (default: same
filename as the source, but in Contents/Resources in the app bundle).
2003-02-24 16:28:37 +00:00
Jack Jansen df976caa34 Use new file dialogs. 2003-01-26 20:35:47 +00:00
Jack Jansen d44a3ec63c Getting rid of StandardGetFile 2003-01-22 14:03:12 +00:00
Jack Jansen 4ea1f455d7 Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
2002-11-15 00:08:29 +00:00
Jack Jansen 5fd945895e For MacPython-OS9 verbose is the default. 2002-08-22 23:36:11 +00:00
Jack Jansen 388fbf3d4a - Better commandline interface to BuildApplet, complete with options,
verbose output to the console, etc.
- Allow Cocoa applets to be built with BuildApplet.

No full testing has been done yet to ensure OS9 operation hasn't suffered.
2002-06-09 22:08:52 +00:00
Jack Jansen 015b70ec93 Common code used to the buildtools module (Just) 1998-07-31 09:44:23 +00:00
Jack Jansen bca57e60c0 Moved some code around: occasionally the SetCreatorFileType didn't
work because the finder got there first (at leats, that's what I think
happened).
1998-04-21 15:25:57 +00:00
Jack Jansen 8554e302a5 BuildApplet will now also update old applets 1998-02-20 16:06:56 +00:00
Jack Jansen af647ddc52 Use ProgressBar to show progress in stead of print 1997-05-13 15:42:26 +00:00
Jack Jansen 29a3355ab9 Added macostools.touch() calls to inform the finder of our changes. 1996-09-15 22:13:59 +00:00
Jack Jansen f428c9e317 Turned off debugging output 1996-09-09 01:45:25 +00:00
Jack Jansen 055782a15e Removed silly dialog 1996-08-28 14:16:39 +00:00
Jack Jansen 6c6ad83e54 Set default item for dialog 1996-01-22 14:55:52 +00:00
Jack Jansen 3f14f4a3fc Changed the way .rsrc and template are copied: hopefully this will
finally get the bundle stuff right.
1995-09-24 21:05:24 +00:00
Jack Jansen 0f452fa557 Slightly reorganized so it is useable from another program, and
put all print statements in 'if DEBUG'.
1995-09-01 11:54:11 +00:00
Jack Jansen 7c86b21812 - Allow PythonApplet to be an alias
- Correctly set bundle and init bits
1995-08-31 13:48:43 +00:00
Jack Jansen 9062fa2fb5 Added prompts to various file-select dialogs
Renumbered resources to above 512
1995-08-14 12:21:12 +00:00
Jack Jansen 7571f30efe A new home for scripts/applets
EditPythonPrefs - Edit the preferences file (sys.path, python home)
PackLibDir - Convert a sys.path directory to a resource file
RunLibScript - import a module and run as __main__
mkapplet - Create a python applet

The resource files belonging to these should also be stored here, somehow..
1995-07-29 13:48:41 +00:00