Commit Graph

453 Commits

Author SHA1 Message Date
giovannibajo d00453aaab Update binary bootloader for Windows
git-svn-id: http://svn.pyinstaller.org/trunk@780 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 20:09:04 +00:00
giovannibajo 124bdbd1a8 Yet another missing numerix submodule in matplotlib
git-svn-id: http://svn.pyinstaller.org/trunk@779 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 20:07:39 +00:00
giovannibajo 0320db14e8 Ticket #140: add support for pygments
git-svn-id: http://svn.pyinstaller.org/trunk@778 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 20:00:40 +00:00
giovannibajo a69f5c77d6 Ticket #71: add import hook for cx_Oracle
git-svn-id: http://svn.pyinstaller.org/trunk@777 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 19:55:27 +00:00
giovannibajo 9aef50eef9 Ticket #147: remove additional layer of quotes. It should not be required anymore now
thanks to the "echo on" trick.


git-svn-id: http://svn.pyinstaller.org/trunk@776 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 19:50:28 +00:00
giovannibajo 5a878bc8ed Ticket #88: Fix missing matplolib submodule
git-svn-id: http://svn.pyinstaller.org/trunk@775 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 19:47:07 +00:00
giovannibajo ab6975e421 Remove site_module test: there is no way it can work because site.py has many
hidden imports (.pth files) that PyInstaller will not see (and should not).


git-svn-id: http://svn.pyinstaller.org/trunk@774 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 19:36:23 +00:00
giovannibajo 7da551534e Remove old startup script (no more required)
git-svn-id: http://svn.pyinstaller.org/trunk@773 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-03-12 19:32:09 +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 7b9611b9c1 Update reference to manual
git-svn-id: http://svn.pyinstaller.org/trunk@771 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-02-26 14:52:23 +00:00
giovannibajo ac59ea060b Avoid taking a reference to sys.path at startup.
This fixes the behaviour of PyInstaller when sys.path is
rebound at runtime to a different list.


git-svn-id: http://svn.pyinstaller.org/trunk@770 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-02-11 00:23:39 +00:00
giovannibajo 02db2b8ff4 Fix the initialization of sys.pathex in case the spec file doesn't specify it.
git-svn-id: http://svn.pyinstaller.org/trunk@769 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-02-11 00:14:12 +00:00
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