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
cc7e07359d
Revert spurious commit
...
git-svn-id: http://svn.pyinstaller.org/trunk@688 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-07-06 16:38:20 +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
77c824c78b
Mac OSX: handle correctly DYLD_FRAMEWORK_PATH and the default (hardcoded) value
...
of DYLD_FALLBACK_PATH. This fixes dependency chains using framework-relative paths.
Patch by Hans-Peter Jansen.
git-svn-id: http://svn.pyinstaller.org/trunk@686 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-07-06 15:58:42 +00:00
giovannibajo
4abad4d353
Preliminar support for creating a bundle on Mac OSX.
...
Yet to be integrated into Makespec.py.
git-svn-id: http://svn.pyinstaller.org/trunk@685 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-30 12:19:59 +00:00
(no author)
6b1825bb99
git-svn-id: http://svn.pyinstaller.org/trunk@683 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-18 14:21:05 +00:00
giovannibajo
8015e62a37
Fix executables run under IIS (the executable's argv[0] uses an UNC
...
path which starts with \\?\ and archive.py was getting confused by it).
git-svn-id: http://svn.pyinstaller.org/trunk@681 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-17 12:30:02 +00:00
giovannibajo
7ce32622cf
Document that relative imports are supported.
...
git-svn-id: http://svn.pyinstaller.org/trunk@680 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-15 22:49:20 +00:00
giovannibajo
bbe074c8e8
Bug #60 : Relative import syntax (dots) does not disable top-level (absolute) imports.
...
git-svn-id: http://svn.pyinstaller.org/trunk@679 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-15 22:47:53 +00:00
giovannibajo
5aa7540cd3
Ticket #69 : correctly support relative imports within __init__ files
...
git-svn-id: http://svn.pyinstaller.org/trunk@678 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-14 22:54:44 +00:00
giovannibajo
67f7ac347a
Rename a secondary file as expected by its test
...
git-svn-id: http://svn.pyinstaller.org/trunk@677 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-14 22:51:13 +00:00
giovannibajo
590b369205
Fix a long-standing bug in PYZOwner.
...
But I guess that PYZOwner needs some more love...
git-svn-id: http://svn.pyinstaller.org/trunk@676 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-14 21:48:00 +00:00
giovannibajo
5fb49ffba9
Fix a couple of whitespaces.
...
git-svn-id: http://svn.pyinstaller.org/trunk@675 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-14 21:42:18 +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
be6d49360b
Update PyWin32 URL
...
git-svn-id: http://svn.pyinstaller.org/trunk@673 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-06-11 15:22:41 +00:00
giovannibajo
ea4cf8c67b
Document expected compatibility.
...
git-svn-id: http://svn.pyinstaller.org/trunk@672 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-22 18:54:49 +00:00
giovannibajo
99727d5882
Fix encoding support in Python 2.6, by fix a one-off in interpretatio of
...
the 'level' argument of __import__.
git-svn-id: http://svn.pyinstaller.org/trunk@671 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-22 18:54:30 +00:00
giovannibajo
fb50d06175
The internal consistency errors of importHook() shouldn't be ImportErrors,
...
otherwise they get swallowed just like the import failed. Instead, they
notify there's something wrong with the logic of PyInstaller. Make them cry
through RuntimeErrors.
git-svn-id: http://svn.pyinstaller.org/trunk@670 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-22 18:51:07 +00:00
giovannibajo
bd28d2843b
Ticket #62 : fix pkg_resources support for single-file .eggs.
...
git-svn-id: http://svn.pyinstaller.org/trunk@669 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-19 19:16:42 +00:00
giovannibajo
1977158be7
Ticket #59 : add paste import hook.
...
git-svn-id: http://svn.pyinstaller.org/trunk@668 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-19 18:59:44 +00:00
giovannibajo
8593373f15
Ticket #65 : fix SQLObject support by checking correct case in package names.
...
git-svn-id: http://svn.pyinstaller.org/trunk@667 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-19 11:57:55 +00:00
giovannibajo
baf462ce17
Some additional fixes to make UPX paths work correctly.
...
git-svn-id: http://svn.pyinstaller.org/trunk@666 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-18 14:01:58 +00:00
giovannibajo
c1d18dadb5
Revised changelog.
...
git-svn-id: http://svn.pyinstaller.org/trunk@665 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-18 12:52:42 +00:00
giovannibajo
d20c296020
Ticket #61 : add import hook for mako.
...
git-svn-id: http://svn.pyinstaller.org/trunk@664 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-18 12:44:56 +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
827bffbd29
Allow to specify UPX directory at configure time.
...
Contributed by Gianni Valdambrini.
git-svn-id: http://svn.pyinstaller.org/trunk@662 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-13 10:18:37 +00:00
giovannibajo
30f1dfc8b4
Bug #58 : handle @executable_path in macho dependencies
...
git-svn-id: http://svn.pyinstaller.org/trunk@661 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-13 10:06:47 +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
a16a4ad54a
Remove Configure step for simmetry with other platforms.
...
git-svn-id: http://svn.pyinstaller.org/trunk@659 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-04 10:57:08 +00:00
giovannibajo
e1df8d95b9
Add new dependency for PyGTK
...
git-svn-id: http://svn.pyinstaller.org/trunk@658 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-04 00:09:49 +00:00
giovannibajo
90d5e2e524
Avoid problems with Linux builds of UPX
...
git-svn-id: http://svn.pyinstaller.org/trunk@657 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 23:53:22 +00:00
giovannibajo
750ff3b6c9
Fix pathnames generation on Windows (through repr() to avoid backslash problems)
...
git-svn-id: http://svn.pyinstaller.org/trunk@656 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 23:36:47 +00:00
giovannibajo
fdfb2ad909
Avoid Python 2.6 deprecation warnings
...
git-svn-id: http://svn.pyinstaller.org/trunk@655 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 23:36:13 +00:00
giovannibajo
1b50dd13e2
Fix a regression when rebuild an already-build package.
...
Add crypt file to the guts description of the class PYZ.
git-svn-id: http://svn.pyinstaller.org/trunk@654 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 22:41:48 +00:00
giovannibajo
bdee3f5ca5
When running UPX, default to --lzma if possible.
...
Turn on UPX by default (if available).
git-svn-id: http://svn.pyinstaller.org/trunk@653 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 22:32:07 +00:00
giovannibajo
9a00ba086a
Integrated patch by David Mugnai to make generated executables more
...
distribution independent than before. All system libraries are now
integrated except those which are kernel/driver dependent.
git-svn-id: http://svn.pyinstaller.org/trunk@652 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 12:46:30 +00:00
giovannibajo
b8f819e093
Added import hooks for lxml
...
git-svn-id: http://svn.pyinstaller.org/trunk@651 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-30 12:26:08 +00:00
giovannibajo
5cddf490d4
Readding --name option that went lost in the refactoring in [499].
...
git-svn-id: http://svn.pyinstaller.org/trunk@650 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-29 14:56:58 +00:00
giovannibajo
aecd7cb7b5
Add import hooks for PyQwt5.
...
git-svn-id: http://svn.pyinstaller.org/trunk@649 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-24 18:24:41 +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
4eeccdbcea
Fix an error when using a Windows checkout of PyInstaller under Linux
...
git-svn-id: http://svn.pyinstaller.org/trunk@646 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-07 10:32:24 +00:00
giovannibajo
275dff722c
Fix a bug when using crypted archives with pyc/pyo files for which
...
we don't have the source code available. Before this fix, such files
were not being crypted, but at runtime they were expected to be so.
git-svn-id: http://svn.pyinstaller.org/trunk@645 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-04 15:13:34 +00:00
giovannibajo
1c953f3cfe
Committed patch from ticket #48
...
git-svn-id: http://svn.pyinstaller.org/trunk@644 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-04 15:03:28 +00:00
giovannibajo
a7e04b85a6
Document recent changes
...
git-svn-id: http://svn.pyinstaller.org/trunk@643 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-04 14:52:35 +00:00
giovannibajo
2b62d48d60
Fix ticket #24 : rename internal optparse to pyi_optparse,
...
to avoid conflicts with Python's own optparse (which is possibly newer)
and thus not pick up the wrong one when packaging applications.
git-svn-id: http://svn.pyinstaller.org/trunk@642 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-04 14:51:18 +00:00
giovannibajo
a1245d31a7
Fix ticket #42 : account for source files in carchives with Windows
...
line endings under Linux.
git-svn-id: http://svn.pyinstaller.org/trunk@641 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-04 14:31:48 +00:00
giovannibajo
e3d1ff04b8
Fix another hidden import in email.
...
git-svn-id: http://svn.pyinstaller.org/trunk@640 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-04 09:35:34 +00:00
giovannibajo
fc067fe1c3
Revamp .egg (zipimport) support.
...
It looks like the support was only preliminar and broken.
Specifically:
* mf.py was unable to look for dependencies within .eggs
* iu.py was unable to use .egg file completely (!)
Probably, it never fully worked. Anyway, it's completely fixed
now (the setuptools tests pass) and I'm going to commit more
tests soon (without the external dependency).
git-svn-id: http://svn.pyinstaller.org/trunk@639 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 17:57:22 +00:00
giovannibajo
0489f089d0
Make new tests compatible with Windows
...
git-svn-id: http://svn.pyinstaller.org/trunk@638 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:31:48 +00:00