73 Commits

Author SHA1 Message Date
giovannibajo c7536735a2 Ticket #179: basic fixing for darwin64
git-svn-id: http://svn.pyinstaller.org/trunk@858 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-08-27 18:19:49 +00:00
lmancini 1a187b2df6 Transforms the process type under Mac OS X (darwin platform) in foreground mode if we're running with the windowed loader: this allows to both have focus and a dock icon for the running application, while the unpacker helper application still doesn't get a dock icon - to do so and still have a non-Carbon loader for console apps, this patch adds a windowed loader (with specific cflags and ldflags) and its debug counterpart.
git-svn-id: http://svn.pyinstaller.org/trunk@848 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-06-08 10:44:27 +00:00
giovannibajo a1e3c78262 Restore compatibility with Python versions before 2.4 which do not
export symbols for Py_IncRef/Py_DecRef.


git-svn-id: http://svn.pyinstaller.org/trunk@827 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-04-28 09:36:37 +00:00
giovannibajo 34236e347c Complete runtime support for .egg-files.
Now Build.py automatically adds a runtime hook whenever
a .egg file is packaged. This hook adds the .egg to sys.path
at startup, so that it is picked up by the import hooks.

In one-dir mode, .eggs files are packaged into a "eggs" subdirectory.
In one-file mode, .eggs files are within the executable, and
extracted at startup in the temporary directory.

I removed the old runtime hook by Hartmut which decompressed .eggs
to disk because it is not required anymore since we directly
use zipimport to access .eggs.


git-svn-id: http://svn.pyinstaller.org/trunk@772 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 19:26:33 +00:00
giovannibajo aa33f906fd Ticket #13: gracefully handle very long LD_LIBRARY_PATH.
Patch by Oscar Bristol.


git-svn-id: http://svn.pyinstaller.org/trunk@708 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-09-25 17:28:28 +00:00
giovannibajo fa3bd14a95 Revert weird r701 commit (who did it?)
git-svn-id: http://svn.pyinstaller.org/trunk@703 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-27 23:44:16 +00:00
giovannibajo ab0dfc6280 Make PyInstaller work for Windows screensavers (remove hardcoded
limitation that executable must end with .exe).


git-svn-id: http://svn.pyinstaller.org/trunk@702 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-26 19:03:07 +00:00
(no author) 9e36dfe609 remove pyinstaller tree
git-svn-id: http://svn.pyinstaller.org/trunk@701 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-15 20:01:05 +00:00
giovannibajo 46fc66e81e Ticket #66: fix errors in Make.py which occur when using a source build of Python.
git-svn-id: http://svn.pyinstaller.org/trunk@694 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-01 16:10:31 +00:00
giovannibajo 4a935b1e3e Use setenv() instead of putenv(). This fixes a nasty segfault on Mac OSX
because the memory used in the call to putenv() were not being saved.


git-svn-id: http://svn.pyinstaller.org/trunk@690 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-07-10 12:56:53 +00:00
giovannibajo 7306f49304 Make sure LD_LIBRARY_PATH is correctly set in one-dir UNIX builds.
This fixes an old time warth where shared libraries were not pulled
correctly in one-dir mode, unless a specific OPTION was specified.
Since it is basically useless nowadays a one-dir build without LD_LIBRARY_PATH,
we default it.

This also means that one-dir builds will fork once on Linux (like one-file
builds already do).


git-svn-id: http://svn.pyinstaller.org/trunk@687 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-07-06 16:37:57 +00:00
giovannibajo 7dbdb5eb84 Define __file__ within the main module(s), for full compatibility.
git-svn-id: http://svn.pyinstaller.org/trunk@674 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-12 16:15:23 +00:00
giovannibajo 2486614ccb Apply workaround for running executables that were built within a
virtualenv environment on Mac.


git-svn-id: http://svn.pyinstaller.org/trunk@663 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-13 12:47:43 +00:00
giovannibajo 6981284e6f Bug #56: set Py_FrozenFlag to avoid spurious warning messages from getpath.c.
git-svn-id: http://svn.pyinstaller.org/trunk@660 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-12 12:44:51 +00:00
giovannibajo 680572bde4 Try always first to find embedded PKG into the executable, and only
later look for an external PKG file. This follows PyInstaller's
convention of allowing external files (even .py file) if not found
within the archive. Moreover, it also allow not to circumvent digital
signing too easily.


git-svn-id: http://svn.pyinstaller.org/trunk@648 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-24 17:09:03 +00:00
giovannibajo edb6094dca Allow bootloader to handle code-signed executables.
git-svn-id: http://svn.pyinstaller.org/trunk@647 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-24 17:05:17 +00:00
giovannibajo b995d6547e Merge crypt branch
git-svn-id: http://svn.pyinstaller.org/trunk@623 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-25 18:55:39 +00:00
giovannibajo cbb1c8abbc Fix usage of mkdir() on Windows
git-svn-id: http://svn.pyinstaller.org/trunk@621 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-25 17:19:58 +00:00
giovannibajo a48046fa1c Commit two lines that were missing from previous commit
git-svn-id: http://svn.pyinstaller.org/trunk@619 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-24 19:26:41 +00:00
giovannibajo cae2cdaa6e Rollback part of the previous change: do not include Python.h.
We do not want to bind to a specific Python version, but we do
not also want to duplicate code like before. The data structures
used to be defined in launch.h only because of the reference counting
macros. But the correct solution is to use the reference
counting *functions* instead (Py_IncRef/Py_DecRef), so to use
Python data structures in a complete opaque fashion.


git-svn-id: http://svn.pyinstaller.org/trunk@618 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-24 19:07:27 +00:00
giovannibajo 6f3814cc89 DATA files within the PyInstaller executable are now automatically
extracted into the workpath. Moreover, relative paths are supported
for those data files.
This is the first step towards adding support for data files in import hooks.


git-svn-id: http://svn.pyinstaller.org/trunk@612 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:43:03 +00:00
giovannibajo 5c984b0756 Fix segfault on x86-64 platforms.
launch.h contained chunks of obsolete, duplicated code from
Python.h (or subheaders thereof). The code wasn't compatible
with 64-bit platforms, hence the random segfaults.
The duplicated code has been there since day 0: probably,
at that time, avoiding the dependency with the Python C
API (python-dev package) was important.


git-svn-id: http://svn.pyinstaller.org/trunk@610 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:26:12 +00:00
giovannibajo e4e5da3ada Normalize whitespaces
git-svn-id: http://svn.pyinstaller.org/trunk@609 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:22:48 +00:00
lmancini 79e991f74a Ticket #46: prepend workpath to DYLD_LIBRARY_PATH to make one-file deploys work under Mac OS X; remove install_name_tool magic.
git-svn-id: http://svn.pyinstaller.org/trunk@597 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-01-29 10:28:33 +00:00
giovannibajo 19042c30a9 Recompile Windows bootloader after Naufraghi's fix for subprocesses.
git-svn-id: http://svn.pyinstaller.org/trunk@585 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-15 17:01:18 +00:00
naufraghi d435867d76 Return child errno at exit
git-svn-id: http://svn.pyinstaller.org/trunk@580 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-13 13:08:59 +00:00
naufraghi 1e690d2c55 Remove LINKFORSHARED -framework Python (link is dynamic in launch.c)
git-svn-id: http://svn.pyinstaller.org/trunk@578 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 22:58:36 +00:00
naufraghi 8b224dad16 Explain better MEIPASS reset
git-svn-id: http://svn.pyinstaller.org/trunk@577 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 19:04:43 +00:00
naufraghi 915ff2ff03 Move the _MEIPASS2 reset just before the script start
git-svn-id: http://svn.pyinstaller.org/trunk@576 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 17:59:06 +00:00
naufraghi 44a324e13f Disable wrong unsetenv but leave FIXME memo
git-svn-id: http://svn.pyinstaller.org/trunk@573 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 16:46:29 +00:00
naufraghi 4c7b4a9ea5 Fix nested onefile execution unsetting the _MEIPASS2 env var
git-svn-id: http://svn.pyinstaller.org/trunk@571 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:56:52 +00:00
naufraghi ee0a4bbe51 Cosmetic
git-svn-id: http://svn.pyinstaller.org/trunk@570 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:36:56 +00:00
naufraghi ddab288ae9 Spaces
git-svn-id: http://svn.pyinstaller.org/trunk@561 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-07 16:47:58 +00:00
naufraghi 90188ee1c4 Spaces
git-svn-id: http://svn.pyinstaller.org/trunk@560 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-07 16:41:36 +00:00
giovannibajo fb3c45387b Fix temporary directory cleaning when the Python code does not cleanly exit
git-svn-id: http://svn.pyinstaller.org/trunk@554 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-11-20 22:04:48 +00:00
giovannibajo a6fc1d6812 Make.py must be executable
git-svn-id: http://svn.pyinstaller.org/trunk@553 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-11-20 21:55:00 +00:00
naufraghi 7500d720b6 Merged revisions 465,532-539,541 via svnmerge from
https://svn.pyinstaller.python-hosting.com/branches/crypt

........
  r465 | giovannibajo | 2008-05-21 15:30:21 +0200 (Wed, 21 May 2008) | 2 lines
  
  Ignore ".sconsign"
........
  r532 | naufraghi | 2008-11-08 00:23:43 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Add MacPython.org and MacPython.macports support
........
  r533 | naufraghi | 2008-11-08 00:29:05 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Run Configure continue only if the make is successful
........
  r534 | naufraghi | 2008-11-08 00:32:00 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Fix PyQt4 hooks
........
  r535 | naufraghi | 2008-11-08 00:44:00 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Do not compress any icon
........
  r536 | naufraghi | 2008-11-08 00:51:07 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Added support for multiple icons (by Giovanni)
........
  r537 | naufraghi | 2008-11-08 00:55:17 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Fix line endings
........
  r538 | naufraghi | 2008-11-08 01:03:19 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Pass wide-string command line through relaunch() to avoid losing information. (by Giovanni)
........
  r539 | naufraghi | 2008-11-08 12:52:58 +0100 (Sat, 08 Nov 2008) | 1 line
  
  Line endings
........
  r541 | naufraghi | 2008-11-09 10:08:19 +0100 (Sun, 09 Nov 2008) | 1 line
  
  Remove debug print
........


git-svn-id: http://svn.pyinstaller.org/trunk@545 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-11-09 11:10:05 +00:00
htgoebel f53de410e2 Moved extraction of zipfile (see r475) from launch.c into the new
support/_pyi_egg_extract.py/ module.


git-svn-id: http://svn.pyinstaller.org/trunk@486 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 20:03:40 +00:00
htgoebel c7d287e5b5 Reindenting python soucefiles.
git-svn-id: http://svn.pyinstaller.org/trunk@485 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 19:04:41 +00:00
htgoebel d00c00dfee implemented zipimport
git-svn-id: http://svn.pyinstaller.org/trunk@475 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:32:35 +00:00
htgoebel eddd9569d0 Fixing svn:eol-style for all text files
git-svn-id: http://svn.pyinstaller.org/trunk@473 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 13:47:30 +00:00
naufraghi 82ab43bb1e Merged revisions 342-393,401-404,413,424,426-427,429-433,435-437,439-442,445,448 via svnmerge from
https://svn.pyinstaller.python-hosting.com/branches/python2.5

........
  r342 | naufraghi | 2007-12-03 20:02:47 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r238@rosen:  naufraghi | 2007-12-03 19:59:24 +0100
    r200@rosen:  naufraghi | 2007-11-23 15:54:13 +0100
    Cleanup, remove some warning
   
........
  r343 | naufraghi | 2007-12-03 20:02:56 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r239@rosen:  naufraghi | 2007-12-03 19:59:24 +0100
    r201@rosen:  naufraghi | 2007-11-23 17:23:15 +0100
    Allow starting runtests from any path
   
........
  r344 | naufraghi | 2007-12-03 20:03:04 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r240@rosen:  naufraghi | 2007-12-03 20:00:51 +0100
    r202@rosen:  naufraghi | 2007-11-23 17:24:17 +0100
    Add natural sort for tests
   
........
  r345 | naufraghi | 2007-12-03 20:03:12 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r241@rosen:  naufraghi | 2007-12-03 20:00:51 +0100
    r203@rosen:  naufraghi | 2007-11-23 17:32:46 +0100
    Fix some fragile import?
   
........
  r346 | naufraghi | 2007-12-03 20:03:21 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r242@rosen:  naufraghi | 2007-12-03 20:01:01 +0100
    r204@rosen:  naufraghi | 2007-11-23 17:46:41 +0100
    Adds a basic way to choose tests to run
   
........
  r347 | naufraghi | 2007-12-03 20:03:29 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r243@rosen:  naufraghi | 2007-12-03 20:01:04 +0100
    r205@rosen:  naufraghi | 2007-11-23 17:57:31 +0100
    Adds and xml.dom test
   
........
  r348 | naufraghi | 2007-12-03 20:03:38 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r244@rosen:  naufraghi | 2007-12-03 20:01:04 +0100
    r206@rosen:  naufraghi | 2007-11-23 18:05:04 +0100
    Remove cmd line quoting
   
........
  r349 | naufraghi | 2007-12-03 20:03:46 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r245@rosen:  naufraghi | 2007-12-03 20:01:06 +0100
    r207@rosen:  naufraghi | 2007-11-23 19:47:13 +0100
    Adds 'import os' in one specfile
   
........
  r350 | naufraghi | 2007-12-03 20:03:54 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r246@rosen:  naufraghi | 2007-12-03 20:01:08 +0100
    r208@rosen:  naufraghi | 2007-11-23 19:49:21 +0100
    Add an 'encoding' hiddeimport test
   
........
  r351 | naufraghi | 2007-12-03 20:04:05 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r248@rosen:  naufraghi | 2007-12-03 20:01:08 +0100
    r211@rosen:  naufraghi | 2007-11-27 16:13:30 +0100
    Rewrite exec in execfile
   
........
  r352 | naufraghi | 2007-12-03 20:04:15 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r250@rosen:  naufraghi | 2007-12-03 20:01:09 +0100
    r214@rosen:  naufraghi | 2007-11-30 11:49:23 +0100
    Adds support for extended __path__
   
........
  r353 | naufraghi | 2007-12-03 20:04:23 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r251@rosen:  naufraghi | 2007-12-03 20:01:13 +0100
    r215@rosen:  naufraghi | 2007-11-30 11:52:18 +0100
    Simplify execfile
   
........
  r354 | naufraghi | 2007-12-03 20:04:30 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r252@rosen:  naufraghi | 2007-12-03 20:01:15 +0100
    r216@rosen:  naufraghi | 2007-11-30 11:52:56 +0100
    Fix output path
   
........
  r355 | naufraghi | 2007-12-03 20:04:38 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r253@rosen:  naufraghi | 2007-12-03 20:01:16 +0100
    r217@rosen:  naufraghi | 2007-11-30 12:13:17 +0100
    Add optional logging of self.moduleds
   
........
  r356 | naufraghi | 2007-12-03 20:04:46 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r254@rosen:  naufraghi | 2007-12-03 20:01:16 +0100
    r218@rosen:  naufraghi | 2007-11-30 12:19:13 +0100
    Add __str__ at Module class (and adds a default __file__ too)
   
........
  r357 | naufraghi | 2007-12-03 20:04:54 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r255@rosen:  naufraghi | 2007-12-03 20:01:18 +0100
    r219@rosen:  naufraghi | 2007-11-30 12:30:19 +0100
    Add version info to log filename
   
........
  r358 | naufraghi | 2007-12-03 20:05:01 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r256@rosen:  naufraghi | 2007-12-03 20:01:19 +0100
    r220@rosen:  naufraghi | 2007-11-30 16:11:07 +0100
    Asset-ize a comment + cosmetics (align variable name to other scopes)
   
........
  r359 | naufraghi | 2007-12-03 20:05:09 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r257@rosen:  naufraghi | 2007-12-03 20:01:21 +0100
    r221@rosen:  naufraghi | 2007-11-30 16:46:17 +0100
    Add comments and a None-iti assert
   
........
  r360 | naufraghi | 2007-12-03 20:05:16 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r258@rosen:  naufraghi | 2007-12-03 20:01:24 +0100
    r222@rosen:  naufraghi | 2007-12-03 16:23:17 +0100
    Remove user interaction
   
........
  r361 | naufraghi | 2007-12-03 20:05:25 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r259@rosen:  naufraghi | 2007-12-03 20:01:25 +0100
    r223@rosen:  naufraghi | 2007-12-03 16:39:48 +0100
    Activate the option to run selected tests: runtests.py --run 12 13
   
........
  r362 | naufraghi | 2007-12-03 20:05:32 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r260@rosen:  naufraghi | 2007-12-03 20:01:28 +0100
    r224@rosen:  naufraghi | 2007-12-03 16:51:02 +0100
    Adds a test that fails
   
........
  r363 | naufraghi | 2007-12-03 20:05:41 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r261@rosen:  naufraghi | 2007-12-03 20:01:28 +0100
    r225@rosen:  naufraghi | 2007-12-03 17:11:07 +0100
    Expand imports
   
........
  r364 | naufraghi | 2007-12-03 20:05:48 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r262@rosen:  naufraghi | 2007-12-03 20:01:29 +0100
    r226@rosen:  naufraghi | 2007-12-03 17:12:21 +0100
    Reorder imports
   
........
  r365 | naufraghi | 2007-12-03 20:05:55 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r263@rosen:  naufraghi | 2007-12-03 20:01:30 +0100
    r227@rosen:  naufraghi | 2007-12-03 17:16:11 +0100
    Turns 1-0 to True-False
   
........
  r366 | naufraghi | 2007-12-03 20:06:03 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r264@rosen:  naufraghi | 2007-12-03 20:01:30 +0100
    r228@rosen:  naufraghi | 2007-12-03 17:32:17 +0100
    Path cleanup
   
........
  r367 | naufraghi | 2007-12-03 20:06:10 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r265@rosen:  naufraghi | 2007-12-03 20:01:32 +0100
    r229@rosen:  naufraghi | 2007-12-03 17:35:21 +0100
    Followup: Path cleanup
   
........
  r368 | naufraghi | 2007-12-03 20:06:17 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r266@rosen:  naufraghi | 2007-12-03 20:01:33 +0100
    r230@rosen:  naufraghi | 2007-12-03 18:42:00 +0100
    Add some docs to assemble()
   
........
  r369 | naufraghi | 2007-12-03 20:06:23 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r267@rosen:  naufraghi | 2007-12-03 20:01:35 +0100
    r231@rosen:  naufraghi | 2007-12-03 18:55:32 +0100
    Remove criptic outN.toc numbering, use class names + reformat docs
   
........
  r370 | naufraghi | 2007-12-03 20:06:30 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r268@rosen:  naufraghi | 2007-12-03 20:01:36 +0100
    r232@rosen:  naufraghi | 2007-12-03 18:56:26 +0100
    Restore common prefix 'out'
   
........
  r371 | naufraghi | 2007-12-03 20:06:38 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r269@rosen:  naufraghi | 2007-12-03 20:01:37 +0100
    r236@rosen:  naufraghi | 2007-12-03 19:16:19 +0100
    Cosmetic
   
........
  r372 | naufraghi | 2007-12-03 20:06:45 +0100 (Lun, 03 Dic 2007) | 5 lines
  
   r270@rosen:  naufraghi | 2007-12-03 20:01:37 +0100
    r237@rosen:  naufraghi | 2007-12-03 19:17:17 +0100
    Factorize py[c|o] extension choice
   
........
  r373 | naufraghi | 2007-12-04 12:01:51 +0100 (Mar, 04 Dic 2007) | 3 lines
  
   r302@rosen:  naufraghi | 2007-12-04 12:00:38 +0100
   Restore invcnum
........
  r374 | naufraghi | 2007-12-04 12:01:58 +0100 (Mar, 04 Dic 2007) | 3 lines
  
   r303@rosen:  naufraghi | 2007-12-04 12:01:41 +0100
   Add warning for mod == None
........
  r375 | naufraghi | 2007-12-04 12:08:04 +0100 (Mar, 04 Dic 2007) | 2 lines
  
  Add final final "done" message
........
  r376 | naufraghi | 2007-12-04 12:09:30 +0100 (Mar, 04 Dic 2007) | 3 lines
  
  Ops, is "config.dat"
........
  r377 | naufraghi | 2007-12-04 12:26:20 +0100 (Mar, 04 Dic 2007) | 2 lines
  
  Restored removed "break"
........
  r378 | naufraghi | 2007-12-04 16:01:18 +0100 (Mar, 04 Dic 2007) | 2 lines
  
  Remove already logged warning
........
  r379 | naufraghi | 2007-12-04 17:46:50 +0100 (Mar, 04 Dic 2007) | 1 line
  
  Minimize test case
........
  r380 | naufraghi | 2007-12-04 17:51:07 +0100 (Mar, 04 Dic 2007) | 1 line
  
  Update PathImportDirector if __path__ changes (for example if modified by _xmlplus hook)
........
  r381 | naufraghi | 2007-12-04 18:06:10 +0100 (Mar, 04 Dic 2007) | 1 line
  
  Localize hiddenimport and add hook
........
  r382 | naufraghi | 2007-12-04 19:37:45 +0100 (Mar, 04 Dic 2007) | 1 line
  
  Add another elementree test
........
  r383 | naufraghi | 2007-12-17 12:58:57 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Fix importHook debug print, add other (commented) print debugs
........
  r384 | naufraghi | 2007-12-17 13:00:32 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Support more then one log per spec
........
  r385 | naufraghi | 2007-12-17 13:01:10 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Add hidden xml.etree.ElementTree import
........
  r386 | naufraghi | 2007-12-17 13:02:35 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Restore PATH before assert + comments
........
  r387 | naufraghi | 2007-12-17 14:42:32 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Print warnings for generic excepts in the code
........
  r388 | naufraghi | 2007-12-17 14:56:12 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Use a specific exception for Owners
........
  r389 | naufraghi | 2007-12-17 16:44:59 +0100 (Lun, 17 Dic 2007) | 1 line
  
  Remove final comma
........
  r390 | naufraghi | 2007-12-18 14:51:06 +0100 (Mar, 18 Dic 2007) | 1 line
  
  Expand debug print
........
  r391 | naufraghi | 2007-12-19 18:21:05 +0100 (Mer, 19 Dic 2007) | 1 line
  
  Avoid 'import os' that causes problems in py25
........
  r392 | naufraghi | 2007-12-19 18:34:46 +0100 (Mer, 19 Dic 2007) | 1 line
  
  Represent with %r the exception
........
  r393 | naufraghi | 2007-12-19 18:37:52 +0100 (Mer, 19 Dic 2007) | 1 line
  
  Add comments and commented prints
........
  r401 | naufraghi | 2008-01-11 16:47:02 +0100 (Ven, 11 Gen 2008) | 1 line
  
  Use sys.executable saved at build time (unknown when frozen)
........
  r402 | naufraghi | 2008-01-11 17:17:37 +0100 (Ven, 11 Gen 2008) | 1 line
  
  Restore linux compatibility
........
  r403 | naufraghi | 2008-01-11 18:37:22 +0100 (Ven, 11 Gen 2008) | 1 line
  
  Add test for sys.getfilesystemencoding()
........
  r404 | naufraghi | 2008-01-11 19:42:42 +0100 (Ven, 11 Gen 2008) | 1 line
  
  Accept different error under windows (FIXME: do a real isfile check)
........
  r413 | naufraghi | 2008-01-25 19:47:50 +0100 (Ven, 25 Gen 2008) | 1 line
  
  Restore compatibility with python 2.4
........
  r424 | naufraghi | 2008-02-18 11:53:12 +0100 (Lun, 18 Feb 2008) | 3 lines
  
   r343@trinity:  naufraghi | 2008-02-18 11:53:00 +0100
   Merge dal trunk
........
  r426 | naufraghi | 2008-02-18 14:49:15 +0100 (Lun, 18 Feb 2008) | 1 line
  
  Catch SyntaxError too
........
  r427 | naufraghi | 2008-02-18 15:02:45 +0100 (Lun, 18 Feb 2008) | 1 line
  
  Revert: DummyZlib is a zero commpression zlib
........
  r429 | naufraghi | 2008-02-23 17:05:35 +0100 (Sab, 23 Feb 2008) | 1 line
  
  Add a (failing) test on module imp
........
  r430 | naufraghi | 2008-02-23 18:12:59 +0100 (Sab, 23 Feb 2008) | 1 line
  
  Modified runtest, now all tests are executed (default) but the interactive one(s), thet are executed if -i option is provided
........
  r431 | naufraghi | 2008-02-23 18:18:02 +0100 (Sab, 23 Feb 2008) | 1 line
  
  Merge dal branch dl
........
  r432 | danielevarrazzo | 2008-02-24 14:38:15 +0100 (Dom, 24 Feb 2008) | 2 lines
  
  Added missing file from the 'dl' branch.
........
  r433 | naufraghi | 2008-02-25 13:07:44 +0100 (Lun, 25 Feb 2008) | 1 line
  
  Continue on test failure and report (...) at the end
........
  r435 | naufraghi | 2008-02-25 13:28:08 +0100 (Lun, 25 Feb 2008) | 1 line
  
  Stub of a launcher rebuilder
........
  r436 | danielevarrazzo | 2008-02-25 13:30:56 +0100 (Lun, 25 Feb 2008) | 2 lines
  
  The Python library is found both in onedir and onefile mode.
........
  r437 | naufraghi | 2008-02-25 18:42:16 +0100 (Lun, 25 Feb 2008) | 1 line
  
  Add comments and (commented) debug prints
........
  r439 | naufraghi | 2008-02-28 00:16:38 +0100 (Gio, 28 Feb 2008) | 1 line
  
  Cosmetics
........
  r440 | danielevarrazzo | 2008-02-28 20:21:15 +0100 (Gio, 28 Feb 2008) | 4 lines
  
  The Python library is added to the package even if bindepend couldn't find it.
  
  This may happen when Python is statically linked, e.g. on debian-based systems.
........
  r441 | naufraghi | 2008-03-01 00:46:00 +0100 (Sab, 01 Mar 2008) | 1 line
  
  Remove too restrictive assert
........
  r442 | naufraghi | 2008-03-01 00:47:07 +0100 (Sab, 01 Mar 2008) | 1 line
  
  Run Configure.py after make
........
  r445 | naufraghi | 2008-04-28 19:42:13 +0200 (Lun, 28 Apr 2008) | 1 line
  
  Merge follow up
........
  r448 | naufraghi | 2008-04-30 15:41:51 +0200 (Mer, 30 Apr 2008) | 2 lines
  
  ops, svnmerge was not complete...
........


git-svn-id: http://svn.pyinstaller.org/trunk@449 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-04-30 14:30:09 +00:00
giovannibajo e4b92a7d84 Merge of the startup_crash branch.
git-svn-id: http://svn.pyinstaller.org/trunk@422 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-02-18 01:23:43 +00:00
giovannibajo 48ef3268d1 Check doIt() return value.
From: Anton Gyllenberg <anton@iki.fi>

finalizePython() may crash if doIt() fails.  Add some error checking
to fail more gracefully. This will prevent the "Do you want to send
information to Microsoft" dialog e.g., in case python.dll could not
be loaded.


git-svn-id: http://svn.pyinstaller.org/trunk@333 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-11-20 13:34:11 +00:00
giovannibajo 1e9920032c Let the windows loader try to open myprog.pkg before myprog.exe.
From: Anton Gyllenberg <anton@iki.fi>

Having the archive in an external file makes it possible to work around some
problems stemming from the process opening its own executable and keeping it
open.


git-svn-id: http://svn.pyinstaller.org/trunk@332 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-11-20 13:32:54 +00:00
giovannibajo d4b8c25600 Convert invocations of VS(), OTHERERROR() and FATALERROR().
From: Anton Gyllenberg <anton@iki.fi>

Convert some invocations of VS(), OTHERERROR() and FATALERROR() to use
the newly introduced printf style format strings. Examples of invocations
targetted for modification are cases multiple invocations could be handled
by one invocation with format string and those that used a string buffer
filled with strncpy() or the like.


git-svn-id: http://svn.pyinstaller.org/trunk@330 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-11-20 13:26:38 +00:00
giovannibajo a1d5c791fb Introduce printf()-style error macros in bootloader for Windows.
From: Anton Gyllenberg <anton@iki.fi>

The output macros -- VS(), FATALERROR() and OTHERERROR(), had no output
formatting options. This lead to unnatural constructs like
	VS("Loading dll: ");
	VS(dllpath);
	VS("\n");

Worse, for a Windows windowed application, the above example would
generate three dialog boxes of which the last one blank.

Therefore, make the functions behave like and have the same signature
as printf(). They should be backwards compatible as the old invocations
had just one argument which for some configurations was used as a format
string to printf.

I could not find a way to use preprocessor macros with a variable
amount of arguments on Microsoft Visual Studio 2003, so I opted to
make real functions for the message boxes on Windows.


git-svn-id: http://svn.pyinstaller.org/trunk@329 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-11-20 13:25:35 +00:00
giovannibajo bad19c1378 Add compatibility fix for older Python versions
git-svn-id: http://svn.pyinstaller.org/trunk@307 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-02-16 18:22:21 +00:00
giovannibajo 580c535a8f Ticket #4: remove C++-ism from the bootloader for the AIX compiler.
git-svn-id: http://svn.pyinstaller.org/trunk@304 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-01-28 14:56:59 +00:00
giovannibajo 3f09b1e5bf Merge of [293] from branches/mac:
In [128], Make.py was changed to generate a Makefile which links against
the dynamic library of Python. This looks like a mistake, since the
distribution than depends on libpythonX.X.so.
I changed it back, so that it still uses syconfig to extract the correct
path of the static library. The problem now appears to be that not all
distributions include a static library...


git-svn-id: http://svn.pyinstaller.org/trunk@297 8dd32b29-ccff-0310-8a9a-9233e24343b1
2006-12-14 00:28:14 +00:00