Commit Graph

441 Commits

Author SHA1 Message Date
giovannibajo 0239d65da6 Set eol-style.
git-svn-id: http://svn.pyinstaller.org/trunk@768 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-01-31 23:41:00 +00:00
giovannibajo 9ff05a48a3 Rename the PyOpenGL hook to avoid unwanted namespace conflicts.
git-svn-id: http://svn.pyinstaller.org/trunk@767 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-01-12 13:41:49 +00:00
giovannibajo eec65b540b PyOpenGL2 hook: care only about open() with Python strings.
git-svn-id: http://svn.pyinstaller.org/trunk@766 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-01-12 13:41:12 +00:00
rugginoso d17a1a28cf Merged a fix for a bug in dependency discovering from multiprocess branch.
git-svn-id: http://svn.pyinstaller.org/trunk@747 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-10-23 10:38:05 +00:00
duplo ef99dcc12c Fix typo.
git-svn-id: http://svn.pyinstaller.org/trunk@736 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-10-20 12:12:29 +00:00
duplo f0bc04af05 Add preliminary django support to PyInstaller
git-svn-id: http://svn.pyinstaller.org/trunk@717 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-10-08 07:46:41 +00:00
giovannibajo 0a59b6d15e Ticket #106: fix uic imports under PyQt 4.6.
git-svn-id: http://svn.pyinstaller.org/trunk@709 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-10-01 18:14:01 +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 ea50c20e89 Improve bindepend on Mac by handling @loader_path special symbol.
git-svn-id: http://svn.pyinstaller.org/trunk@707 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-09-25 17:09:21 +00:00
giovannibajo a49180c7b9 Ticket #101: document additional dependency
git-svn-id: http://svn.pyinstaller.org/trunk@706 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-09-08 17:18:00 +00:00
aleph 88b7e8b2c4 Minor spacing fix.
git-svn-id: http://svn.pyinstaller.org/trunk@705 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-29 14:07:42 +00:00
giovannibajo 148e5f75d1 Updated lxml hook (as of Victor Lin's suggestion)
git-svn-id: http://svn.pyinstaller.org/trunk@704 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-27 23:46:00 +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 8ab6a404ea Hook for pyscopg2
git-svn-id: http://svn.pyinstaller.org/trunk@700 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-05 08:07:33 +00:00
giovannibajo 670b7459f6 Rename some import hooks not to conflict with other modules.
Fix onedir mode when the executable is not executed from the current directory.


git-svn-id: http://svn.pyinstaller.org/trunk@699 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-03 22:30:33 +00:00
giovannibajo 91f816ac46 Add import hooks for "babel"
git-svn-id: http://svn.pyinstaller.org/trunk@698 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-03 22:17:15 +00:00
giovannibajo 385c2b2615 Add import hook for phonon (part of PyQt4)
git-svn-id: http://svn.pyinstaller.org/trunk@697 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-02 14:48:15 +00:00
giovannibajo 9327c611a0 Ticket #67: fix Qt4 plugin packaging with Riverbank's GPL package for Win.
There used to be two problems:
1) Riverbank's package uses qt.conf to configure the plugin's path. I needed
to change the way PyInstaller asks PyQt4 where the plugins are to accomodate this,
but I believe it is a change for the better (more solid).
2) The runtime hook was using the environment variable QT_PLUGIN_PATH to tell
PyQt4 where the plugins are. This caused a problem because Riverbank's package
uses MinGW's CRT instead of Visual Studio's, so the environment was not shared.
I changed the runtime hook to actually import PyQt4 and invoke a QCoreApplication
static method.


git-svn-id: http://svn.pyinstaller.org/trunk@696 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-02 14:07:33 +00:00
giovannibajo f75b604a14 Ticket #60: fix distutils package when used under virtualenv
git-svn-id: http://svn.pyinstaller.org/trunk@695 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-01 16:13:21 +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 e5b4bc92b8 On Mac, we can rely on the stable ABI not to ship system libraries
git-svn-id: http://svn.pyinstaller.org/trunk@693 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-01 15:58:26 +00:00
giovannibajo a07023a09f Standardize on network format for .pyz archives. This is useful for Mac builds (PPC vs Intel).
Thanks to Hans-Peter Jansen for the patch.


git-svn-id: http://svn.pyinstaller.org/trunk@692 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-01 15:56:14 +00:00
giovannibajo d87ccb6bc0 Bug #76: fix pyodbc support by updating its hook.
git-svn-id: http://svn.pyinstaller.org/trunk@691 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-08-01 15:47:22 +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 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