Commit Graph

375 Commits

Author SHA1 Message Date
htgoebel 9a77008f6c Added support for relative import (new in Python2.5)
git-svn-id: http://svn.pyinstaller.org/trunk@526 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-05 17:31:49 +00:00
htgoebel 3ba5b9f3a5 Enhanced testcase for relative import.
git-svn-id: http://svn.pyinstaller.org/trunk@525 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-05 17:25:44 +00:00
htgoebel 8397e8149e Enhanced testcase for relative imports.
git-svn-id: http://svn.pyinstaller.org/trunk@524 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-05 09:05:56 +00:00
htgoebel 24d6152fb1 PYZOwner needs to accept dummy parameter target_platform.
git-svn-id: http://svn.pyinstaller.org/trunk@523 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-05 08:38:18 +00:00
htgoebel 7419761529 Added test for relative import.
git-svn-id: http://svn.pyinstaller.org/trunk@522 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 18:03:33 +00:00
htgoebel 1523371f96 Pass target_platform to bindepend.
git-svn-id: http://svn.pyinstaller.org/trunk@521 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:37:46 +00:00
htgoebel f1a42c2920 Fixed some bugs introduced in r512.
git-svn-id: http://svn.pyinstaller.org/trunk@520 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:35:19 +00:00
htgoebel 61b549a233 Messages failed to display in rarely hit cases.
git-svn-id: http://svn.pyinstaller.org/trunk@519 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:34:33 +00:00
htgoebel aa45aff432 Updated svn:ignore
git-svn-id: http://svn.pyinstaller.org/trunk@518 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:33:25 +00:00
htgoebel bb777dbe14 Clean build/ and dist/, too.
git-svn-id: http://svn.pyinstaller.org/trunk@517 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:31:33 +00:00
htgoebel e4df3ae39d Look for .exe in dist/ or dist/<testname>.
git-svn-id: http://svn.pyinstaller.org/trunk@516 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:13:07 +00:00
htgoebel e383d9c134 Need to create multiple levels of directories if requested.
git-svn-id: http://svn.pyinstaller.org/trunk@515 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:05:53 +00:00
htgoebel bbf540d9aa Updated .spec files to meet directory-schema introduced in r511.
git-svn-id: http://svn.pyinstaller.org/trunk@514 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 17:01:37 +00:00
htgoebel 6d44f7ccbe Allow passing testnames as arguments.
git-svn-id: http://svn.pyinstaller.org/trunk@513 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-08-04 16:59:54 +00:00
htgoebel 2dc02cd874 Minor code cleanup. Added whitespace.
git-svn-id: http://svn.pyinstaller.org/trunk@512 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-29 21:17:12 +00:00
htgoebel 7fa6e5e290 Changed builddir into build/... to match commonly used setuptools. See r509,
git-svn-id: http://svn.pyinstaller.org/trunk@511 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 20:58:48 +00:00
htgoebel 5f5a063bee Removed unused 'usage' string.
git-svn-id: http://svn.pyinstaller.org/trunk@510 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 20:53:06 +00:00
htgoebel c76af49844 Changed builddir and distdir into build/ and dist/ to match commonly used setuptools.
git-svn-id: http://svn.pyinstaller.org/trunk@509 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 20:50:05 +00:00
htgoebel df12ddbec5 Applied patch for issue #23.
git-svn-id: http://svn.pyinstaller.org/trunk@508 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 19:27:38 +00:00
htgoebel f272333b34 Added option -C/--configfile as preperation of cross-building. This
allows using one PyInstaller installation to be used for differnet
target platforms.


git-svn-id: http://svn.pyinstaller.org/trunk@507 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 18:45:11 +00:00
htgoebel 5b353b5078 Switched to optparse/optik.
git-svn-id: http://svn.pyinstaller.org/trunk@506 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 18:45:00 +00:00
htgoebel fbf744c410 Minor cleanup, esp. user messages.
git-svn-id: http://svn.pyinstaller.org/trunk@505 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 18:44:51 +00:00
htgoebel e9024be60f Undoing change committed in r503.
git-svn-id: http://svn.pyinstaller.org/trunk@504 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 18:40:45 +00:00
htgoebel 79ebd72446 Minor cleanup, esp. user messages.
git-svn-id: http://svn.pyinstaller.org/trunk@503 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-28 18:21:50 +00:00
giovannibajo eead7cfc8b Fix usage of %prog for optparse
git-svn-id: http://svn.pyinstaller.org/trunk@502 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-26 11:55:17 +00:00
htgoebel 6fac37423f Added .hgignore
git-svn-id: http://svn.pyinstaller.org/trunk@501 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:43:10 +00:00
htgoebel 2e23d82537 Updated svn:ignore
git-svn-id: http://svn.pyinstaller.org/trunk@500 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:42:42 +00:00
htgoebel 52b138876d Reordered options into option groups.
git-svn-id: http://svn.pyinstaller.org/trunk@499 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:35:35 +00:00
htgoebel fa14e95263 Minor code cleanup: Moved functional lines into main().
git-svn-id: http://svn.pyinstaller.org/trunk@498 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:35:26 +00:00
htgoebel b3100f7ce1 switched to a main() function
git-svn-id: http://svn.pyinstaller.org/trunk@497 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:35:16 +00:00
htgoebel 6d175406ba Code cleanup: Put tests/checks into function to enhance readability.
git-svn-id: http://svn.pyinstaller.org/trunk@496 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:35:06 +00:00
htgoebel 24f9fc0f3c code cleanup: removed hackish usage of Build
git-svn-id: http://svn.pyinstaller.org/trunk@495 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:34:55 +00:00
htgoebel ed38f4f0c0 switched to optparse and a main() function
git-svn-id: http://svn.pyinstaller.org/trunk@494 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:34:43 +00:00
htgoebel 95d36be2a5 Code cleanup: Moved functional lines at the end of file (this mean: all functions and definitions are now at the beginning).
git-svn-id: http://svn.pyinstaller.org/trunk@493 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:34:34 +00:00
htgoebel 65c2f2c618 Code cleanup for Build.py: unified check_guts, removed spaghetti code.
git-svn-id: http://svn.pyinstaller.org/trunk@492 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-25 10:34:23 +00:00
htgoebel 8861a2973f Added option for not running the built executables (usefull for cross
builds). Added more files for cleaning. Some code cleanups.


git-svn-id: http://svn.pyinstaller.org/trunk@491 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 22:10:29 +00:00
htgoebel 81cbfaa27e Implemented suffix selection for cross building (this was missing in
r484).


git-svn-id: http://svn.pyinstaller.org/trunk@490 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 21:51:26 +00:00
htgoebel 3b2d5938a0 Added buildtests for zipimport/_pyi_egg_extract.py
git-svn-id: http://svn.pyinstaller.org/trunk@489 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 21:00:43 +00:00
htgoebel 6c36f1e8b9 Added -c option for cleaning up.
git-svn-id: http://svn.pyinstaller.org/trunk@488 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 20:58:46 +00:00
htgoebel 337ea72bc5 Updated svn:ignore
git-svn-id: http://svn.pyinstaller.org/trunk@487 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 20:04:24 +00:00
htgoebel f53de410e2 Moved extraction of zipfile (see r475) from launch.c into the new
support/_pyi_egg_extract.py/ module.


git-svn-id: http://svn.pyinstaller.org/trunk@486 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 20:03:40 +00:00
htgoebel c7d287e5b5 Reindenting python soucefiles.
git-svn-id: http://svn.pyinstaller.org/trunk@485 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 19:04:41 +00:00
htgoebel 57433bf077 Implemented support for cross-plattfrom bundeling linux->win32.
Configure.py: support for --target-patform and --python-executable
bindepend.py: Support for target-platform and search imported
              modules in `xtrapath`, too
Build.py: Test for `target_iswin` instead of `iswin`
mf.py: get suffixes to search for from `suffixes` instead of `imp`
suffixes.py: new module (used by mf.py) to specify suffixes for
             target platform (currently only win32 is supported)

KNOW BUGS:
* Have to check sys.version of --python-executable


git-svn-id: http://svn.pyinstaller.org/trunk@484 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:58:36 +00:00
htgoebel 4cc8b937cd Updated svn:ignore
git-svn-id: http://svn.pyinstaller.org/trunk@483 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:42:19 +00:00
htgoebel 10726d1d20 Files added via Tree() have not been not bundled on rebuild. Fixed.
git-svn-id: http://svn.pyinstaller.org/trunk@482 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:34:16 +00:00
htgoebel 88235d54d7 Build.py did not honor zipfiles everywhere necessary. Fixed.
git-svn-id: http://svn.pyinstaller.org/trunk@481 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:34:02 +00:00
htgoebel 4a686f16f9 Add mode-line
git-svn-id: http://svn.pyinstaller.org/trunk@480 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:33:51 +00:00
htgoebel b2a0e08d6d Removed unnecessary debug message
git-svn-id: http://svn.pyinstaller.org/trunk@479 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:33:44 +00:00
htgoebel a86364f140 code cleanup: reading and writing of data
git-svn-id: http://svn.pyinstaller.org/trunk@478 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:33:26 +00:00
htgoebel 2d8acefd32 Add mode-line to .spec files
git-svn-id: http://svn.pyinstaller.org/trunk@477 8dd32b29-ccff-0310-8a9a-9233e24343b1
2008-07-23 18:33:07 +00:00