Commit Graph

362 Commits

Author SHA1 Message Date
giovannibajo f5ba245e69 Update ignore
git-svn-id: http://svn.pyinstaller.org/trunk@633 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:14:54 +00:00
giovannibajo f7f2f1d674 Fix ctypes support on Linux.
find_library() is not the correct function to resolve the full path,
at least not on Linux.


git-svn-id: http://svn.pyinstaller.org/trunk@632 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:13:57 +00:00
giovannibajo d20b371de1 Fix the import hook for PIL to be Python 2.5-compatible
git-svn-id: http://svn.pyinstaller.org/trunk@631 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 11:05:45 +00:00
giovannibajo 6072535e4a Update ignore property
git-svn-id: http://svn.pyinstaller.org/trunk@630 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 10:57:47 +00:00
giovannibajo 34ce4cfa54 Centralize disabling of debug messages. Also fix some bugs that were persent in commented code.
git-svn-id: http://svn.pyinstaller.org/trunk@629 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 10:57:14 +00:00
giovannibajo ab04700d6a Improves elementtree's hook.
git-svn-id: http://svn.pyinstaller.org/trunk@628 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 10:55:25 +00:00
giovannibajo ef07c2a1b7 Add import hook for QtWebKit
git-svn-id: http://svn.pyinstaller.org/trunk@627 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-28 01:01:30 +00:00
giovannibajo 2985052d2f Update ignore for new scons version
git-svn-id: http://svn.pyinstaller.org/trunk@626 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-25 19:01:22 +00:00
giovannibajo 4f656ee688 Disable crypt support for now
git-svn-id: http://svn.pyinstaller.org/trunk@625 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-25 19:00:16 +00:00
giovannibajo 6c5c755efd Reinstall the hook that was deleted by previous merge
git-svn-id: http://svn.pyinstaller.org/trunk@624 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-25 18:57:03 +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 b7215eeee8 New bootloader for Windows
git-svn-id: http://svn.pyinstaller.org/trunk@620 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-25 11:19:28 +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 a83551956e Add complete import hook for matplotlib
git-svn-id: http://svn.pyinstaller.org/trunk@617 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-23 14:56:57 +00:00
giovannibajo 2f38b46d6a Fix some typos when the hook specifies a whole directory
git-svn-id: http://svn.pyinstaller.org/trunk@616 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-23 14:49:52 +00:00
giovannibajo c3b26606fc Mention more important changes
git-svn-id: http://svn.pyinstaller.org/trunk@615 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:53:50 +00:00
giovannibajo 085fa28be7 Improve PyQt4 import hook to automatically bundle required plugins.
git-svn-id: http://svn.pyinstaller.org/trunk@614 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:53:22 +00:00
giovannibajo 3df52c1557 Add support for datafiles in import hooks.
Now import hooks can specify data files (even full trees) and get
them automatically collected (in --onedir mode) or bundled within
the executabled (in --onefile mode).


git-svn-id: http://svn.pyinstaller.org/trunk@613 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:45:03 +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 61a0201ae9 Document the recent fix
git-svn-id: http://svn.pyinstaller.org/trunk@611 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-22 16:26:57 +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
giovannibajo 2150437196 Update author and e-mail address
git-svn-id: http://svn.pyinstaller.org/trunk@608 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-20 17:43:15 +00:00
giovannibajo 9ab8b5764c Improve error message when Configure/Build do not agree on the optimization flag
git-svn-id: http://svn.pyinstaller.org/trunk@607 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-20 16:40:26 +00:00
giovannibajo a944cd4105 Update changelog
git-svn-id: http://svn.pyinstaller.org/trunk@606 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-20 16:30:24 +00:00
giovannibajo ec4235f11a Document better how to build the bootloader under Linux and Mac
git-svn-id: http://svn.pyinstaller.org/trunk@605 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-20 16:23:41 +00:00
giovannibajo d4a3d4c6da Mention required Debian packages
git-svn-id: http://svn.pyinstaller.org/trunk@604 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-20 16:17:50 +00:00
giovannibajo 612dae10e3 Do not reuse settings from existing config.dat
Specifically: always generate a config.dat against sys.executable,
instead of reusing whatever was being used last time.


git-svn-id: http://svn.pyinstaller.org/trunk@603 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-18 21:45:54 +00:00
giovannibajo 04fc08e0ee Correct the propagation of the import error on Windows.
git-svn-id: http://svn.pyinstaller.org/trunk@602 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-18 19:22:40 +00:00
giovannibajo a6cf5887f7 Add import hook (contributed by Peter Burgers)
git-svn-id: http://svn.pyinstaller.org/trunk@601 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-17 23:18:41 +00:00
lmancini c9f3f42f4b Ticket #47: add a pragmatic but effective ctypes dependency support; a simple testcase is included (tested and working on Mac OS X only).
git-svn-id: http://svn.pyinstaller.org/trunk@599 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-02-16 11:09:58 +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
lmancini 1d5cd4758b Ticket #45: compile pure Python modules in a local directory if it's not possible to do so in the same directory where source resides.
git-svn-id: http://svn.pyinstaller.org/trunk@592 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-01-07 16:01:49 +00:00
naufraghi 2a3024f607 Stop on build error
git-svn-id: http://svn.pyinstaller.org/trunk@591 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-01-05 18:08:00 +00:00
naufraghi 7e93584d63 Allow gracefull upgrade (key 'pythonDebug' was missing in old releases)
git-svn-id: http://svn.pyinstaller.org/trunk@590 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-01-05 18:06:50 +00:00
lmancini 7fcd4063aa Rewrite sqlalchemy hook to use the newly introduced exec_statement helper function (it used to import sqlalchemy directly).
git-svn-id: http://svn.pyinstaller.org/trunk@589 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-31 13:46:42 +00:00
lmancini 3f17e033bd Extract a helper function to spawn an external interpreter; useful for hooks that need to know informations about packages/modules without importing them from within the main running interpreter.
git-svn-id: http://svn.pyinstaller.org/trunk@588 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-31 13:45:09 +00:00
lmancini fc037ed4dd Add hook for PyOpenGL v3.0.0b6 and newer
git-svn-id: http://svn.pyinstaller.org/trunk@587 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-31 13:31:16 +00:00
giovannibajo 6fcf6732c5 Add test for ticket #27 that is fixed on trunk by the work of Matteo Bertini on cleaning up
exception handling during imports.


git-svn-id: http://svn.pyinstaller.org/trunk@586 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-30 19:00:51 +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
giovannibajo 712d82e0bb Update Sconstruct file to new scons syntax
git-svn-id: http://svn.pyinstaller.org/trunk@584 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-15 16:57:09 +00:00
naufraghi ca4dec1af2 Test the real problem: not imp but site
git-svn-id: http://svn.pyinstaller.org/trunk@583 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-13 14:31:01 +00:00
naufraghi 50def6840d Add debug print
git-svn-id: http://svn.pyinstaller.org/trunk@582 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-13 14:27:47 +00:00
naufraghi f8cfa0b1e0 Fix typo and make the code runnable also if not packed
git-svn-id: http://svn.pyinstaller.org/trunk@581 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-13 14:27:06 +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 1496089842 Rename test[67]x -> data[67] (skipped by runtest)
git-svn-id: http://svn.pyinstaller.org/trunk@579 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 23:11:38 +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