summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/bundlebuilder.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2006-05-161-1/+1
|
* Rework the build system for osx applications:Ronald Oussoren2006-05-141-5/+18
| | | | | | | | | | | * Don't use xcodebuild for building PythonLauncher, but use a normal unix makefile. This makes it a lot easier to use the same build flags as for the rest of python (e.g. make a universal version of python launcher) * Convert the mac makefile-s to makefile.in-s and use configure to set makefile variables instead of forwarding them as command-line arguments * Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw' * Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow easier modification of the bundle contents later on.
* Whitespace normalization.Tim Peters2005-01-071-1/+1
|
* Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destrootJack Jansen2004-12-271-2/+7
| | | | | | | option to various tools, and do the right thing when we're doing a destroot install. Will backport to 2.4 and 2.3.
* Fixed a bug that's been there from the beginning but wasn't noticedJust van Rossum2003-07-101-3/+3
| | | | | | | | until now: the inheritance of default values was the wrong way around. This caused app bundles to get a type of "BNDL" instead of "APPL". Apparently this is not a problem until you try to drag your app to the dock. ----------------------------------------------------------------------
* #765903:Just van Rossum2003-07-041-5/+22
| | | | | | | - added bundle_id/--bundle-id option, to specify the CFBundleIndentifier #765615: - in the appropriate situation, prepend $PATH with our path instead of setting it.
* If a --python option is used to specify the Python to use in the #!Jack Jansen2003-07-041-1/+4
| | | | line also use this as the executable in the bundle.
* restore 2.2 compatibility:Just van Rossum2003-06-291-11/+11
| | | | | - don't use "abc" in aString - don't reorganize extension modules when not using zipimport
* - added --semi-standalone option that builds apps that depend on anJust van Rossum2003-06-291-26/+50
| | | | | | | installed Python, yet include any modules not in the std lib - reworked extension module inclusion code: put all .so files in a subdirectory of Contents/Resources/, but more importantly, correctly support extensions that are submodules.
* - do the right thing with symlinks inside directories we're copyingJust van Rossum2003-06-201-6/+13
| | | | | - move the normpath stuff around a bit - added dubious special case to addPythonFramework()
* make sure paths to dirs don't end in a /Just van Rossum2003-06-201-2/+2
|
* Reworked --strip option: it will now look at _any_ file that's markedJust van Rossum2003-06-201-13/+24
| | | | executable in the bundle. Therefore got rid of the "binaries" attribute.
* register the library inside Python.framework as eligable for strippingJust van Rossum2003-06-201-2/+4
|
* Add initial standalone support for Python.frameworkJust van Rossum2003-06-201-2/+32
|
* Added a --python option, which sets the python to be used in the #! lineJack Jansen2003-05-251-1/+9
| | | | in the bootstrap script of the applet.
* Detabbed.Jack Jansen2003-04-091-618/+618
|
* use os.path.realpath() instead of os.readlink()Just van Rossum2003-03-211-3/+1
|
* only set $PYTHONHOME when building a standalone app.Just van Rossum2003-03-211-1/+3
|
* Patch #681927 from Robin Dunn: add option to add shared libraries orJust van Rossum2003-03-211-1/+15
| | | | frameworks to the bundle.
* set $PYTHONHOME in the bootstrap script, for no good reason really,Just van Rossum2003-03-201-0/+1
| | | | except to avoid getpath.c giving unsollicited advice on stderr.
* Actually *do* override the type in AppBuilder.Jack Jansen2003-03-051-1/+1
|
* Moved some application-bundle specific code from the BundleBuilder class toJack Jansen2003-03-051-5/+9
| | | | | | AppBuilder, and set the default type to BNDL (overridden in AppBuilder). This surfaced when trying to build help bundles.
* use the same Python for running the bootstrap script and the main programJust van Rossum2003-02-261-1/+9
|
* remove sitecustomize hack, will be solved elsewhereJust van Rossum2003-02-261-25/+0
|
* Reverted the rev. 1.8 change: the magic for decoding resourcefilesJack Jansen2003-02-251-4/+0
| | | | is now in buildtools.
* tweak error messageJust van Rossum2003-02-251-2/+2
|
* - renamed the --copyfile option to --file.Just van Rossum2003-02-251-4/+6
| | | | | - tweaked the help text a little. (Jack: up to you to change your client code.)
* added some comments, minor tweaksJust van Rossum2003-02-251-3/+34
|
* Resolving parts of #688907:Just van Rossum2003-02-251-9/+29
| | | | | | | | | | | | - 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.
* Added a -c (--copyfile) option with argument src:dst which copies file srcJack Jansen2003-02-241-2/+8
| | | | into dst in the bundle. The Python API already had this functionality
* Added an argv_emulation option (command line option: --argv or -a) whichJack Jansen2003-02-181-2/+36
| | | | | creates the sys.argv emulation wrapper for droplets. Also updates the plist, if needed, and the includedModules (but this last is untested).
* Use "$@" to pass arguments to Python in stead of "${1}". This passes allJack Jansen2003-02-181-1/+1
| | | | arguments, and also does the right thing for the no argument case.
* When installing resource files whose name ends in .rsrc use theJack Jansen2003-02-171-0/+3
| | | | | "copy anything to a data fork based resource file" trick of macresource. Fixes #688007.
* Thank you sir, can I have another.Just van Rossum2003-02-121-3/+3
|
* jeez, now I know why I shouldn't even _want_ to learn sh.Just van Rossum2003-02-021-4/+4
|
* icon support by Robin Dunn, closes patch #678218Just van Rossum2003-02-011-1/+14
|
* make sure src exists before creating a symlinkJust van Rossum2003-01-171-0/+2
|
* make sure Info.plist has a CFBundleIdentifier entryJust van Rossum2003-01-131-0/+2
|
* Replaced imp.set_frozenmodules() cruft with proper zipimport support.Just van Rossum2003-01-021-43/+42
| | | | | This work uncovered the zipimport bug in 2.3a1 -- wish I'd had time to do this before the release :-(.
* Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used bothJack Jansen2002-12-301-0/+704
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).