Commit Graph

375 Commits

Author SHA1 Message Date
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
giovannibajo 6de6f62c9c Update ignore
git-svn-id: http://svn.pyinstaller.org/trunk@637 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:24:09 +00:00
giovannibajo 1ab4c78fc8 Add two new tests
git-svn-id: http://svn.pyinstaller.org/trunk@636 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:22:53 +00:00
giovannibajo 9fb2732537 Avoid spurious support files by only globbing tests through spec files
git-svn-id: http://svn.pyinstaller.org/trunk@635 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:22:12 +00:00
giovannibajo e4df380015 Reenable clean function that was commented out by mistake
git-svn-id: http://svn.pyinstaller.org/trunk@634 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-03-01 12:17:35 +00:00
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