Commit Graph

401 Commits

Author SHA1 Message Date
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
giovannibajo 827bffbd29 Allow to specify UPX directory at configure time.
Contributed by Gianni Valdambrini.


git-svn-id: http://svn.pyinstaller.org/trunk@662 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-13 10:18:37 +00:00
giovannibajo 30f1dfc8b4 Bug #58: handle @executable_path in macho dependencies
git-svn-id: http://svn.pyinstaller.org/trunk@661 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-13 10:06:47 +00:00
giovannibajo 6981284e6f Bug #56: set Py_FrozenFlag to avoid spurious warning messages from getpath.c.
git-svn-id: http://svn.pyinstaller.org/trunk@660 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-12 12:44:51 +00:00
giovannibajo a16a4ad54a Remove Configure step for simmetry with other platforms.
git-svn-id: http://svn.pyinstaller.org/trunk@659 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-04 10:57:08 +00:00
giovannibajo e1df8d95b9 Add new dependency for PyGTK
git-svn-id: http://svn.pyinstaller.org/trunk@658 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-04 00:09:49 +00:00
giovannibajo 90d5e2e524 Avoid problems with Linux builds of UPX
git-svn-id: http://svn.pyinstaller.org/trunk@657 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 23:53:22 +00:00
giovannibajo 750ff3b6c9 Fix pathnames generation on Windows (through repr() to avoid backslash problems)
git-svn-id: http://svn.pyinstaller.org/trunk@656 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 23:36:47 +00:00
giovannibajo fdfb2ad909 Avoid Python 2.6 deprecation warnings
git-svn-id: http://svn.pyinstaller.org/trunk@655 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 23:36:13 +00:00
giovannibajo 1b50dd13e2 Fix a regression when rebuild an already-build package.
Add crypt file to the guts description of the class PYZ.


git-svn-id: http://svn.pyinstaller.org/trunk@654 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 22:41:48 +00:00
giovannibajo bdee3f5ca5 When running UPX, default to --lzma if possible.
Turn on UPX by default (if available).


git-svn-id: http://svn.pyinstaller.org/trunk@653 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 22:32:07 +00:00
giovannibajo 9a00ba086a Integrated patch by David Mugnai to make generated executables more
distribution independent than before. All system libraries are now
integrated except those which are kernel/driver dependent.


git-svn-id: http://svn.pyinstaller.org/trunk@652 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-05-03 12:46:30 +00:00
giovannibajo b8f819e093 Added import hooks for lxml
git-svn-id: http://svn.pyinstaller.org/trunk@651 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-30 12:26:08 +00:00
giovannibajo 5cddf490d4 Readding --name option that went lost in the refactoring in [499].
git-svn-id: http://svn.pyinstaller.org/trunk@650 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-29 14:56:58 +00:00
giovannibajo aecd7cb7b5 Add import hooks for PyQwt5.
git-svn-id: http://svn.pyinstaller.org/trunk@649 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-24 18:24:41 +00:00
giovannibajo 680572bde4 Try always first to find embedded PKG into the executable, and only
later look for an external PKG file. This follows PyInstaller's
convention of allowing external files (even .py file) if not found
within the archive. Moreover, it also allow not to circumvent digital
signing too easily.


git-svn-id: http://svn.pyinstaller.org/trunk@648 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-24 17:09:03 +00:00
giovannibajo edb6094dca Allow bootloader to handle code-signed executables.
git-svn-id: http://svn.pyinstaller.org/trunk@647 8dd32b29-ccff-0310-8a9a-9233e24343b1
2009-04-24 17:05:17 +00:00
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