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
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
22ace58cf5
Fix test-zipimport.spec path
...
git-svn-id: http://svn.pyinstaller.org/trunk@575 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 17:17:33 +00:00
naufraghi
891ecd8f6a
Use a different FAIL message sep
...
git-svn-id: http://svn.pyinstaller.org/trunk@574 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-12 17:16:55 +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
5cb2b05554
Disable debug in spec file
...
git-svn-id: http://svn.pyinstaller.org/trunk@572 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:57:21 +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
ef0ba534d3
Fix nested onefile test
...
git-svn-id: http://svn.pyinstaller.org/trunk@569 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:20:58 +00:00
naufraghi
bb3f1ddcad
Fix destination path
...
git-svn-id: http://svn.pyinstaller.org/trunk@568 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:03:58 +00:00
naufraghi
f21d0b35c3
Add a nested launch test (onefile launches another onefile)
...
git-svn-id: http://svn.pyinstaller.org/trunk@567 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:03:08 +00:00
naufraghi
9c49517ced
Add an interactive (you have to close the windows...) Tk test
...
git-svn-id: http://svn.pyinstaller.org/trunk@566 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 19:01:33 +00:00
naufraghi
3826b4c080
Fix test extension /intelligence/
...
git-svn-id: http://svn.pyinstaller.org/trunk@565 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 16:12:02 +00:00
naufraghi
63982c9ed1
Match libtcl.dylib too
...
git-svn-id: http://svn.pyinstaller.org/trunk@564 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 16:11:07 +00:00
naufraghi
0694f5f237
Fix python_exe.build generation and fix tests using buildtime python
...
+ be more verbose
git-svn-id: http://svn.pyinstaller.org/trunk@563 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 15:46:23 +00:00
naufraghi
9060db5bf6
Cosmetic
...
git-svn-id: http://svn.pyinstaller.org/trunk@562 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-11 15:44:39 +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
naufraghi
c522d67300
Rename test3 -> test_f_option
...
git-svn-id: http://svn.pyinstaller.org/trunk@559 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-12-07 16:19:23 +00:00