Commit Graph

1442 Commits

Author SHA1 Message Date
Tarek Ziadé ae7731af45 module cleanup 2010-01-11 23:41:32 +00:00
Tarek Ziadé dc0f487c3b Fixed #5372: .o files are now always rebuilt because file age test don't work in some case 2010-01-11 22:50:29 +00:00
Benjamin Peterson aa7e51f006 bump version to 2.7a2 2010-01-09 16:34:06 +00:00
Tarek Ziadé c25417f644 Fixed #7617: all flavors of gcc should be recognized now 2010-01-08 23:42:23 +00:00
Ronald Oussoren ca8e7ec216 Unittests and news items for the patch in r77026. 2009-12-24 14:50:35 +00:00
Ronald Oussoren 728cc6110f On OSX the output of "uname -m" always reflects the 32-bit architecture
for the machine ("i386" or "ppc"), even if the executable is
64-bit.

This patchs ensures that the distutils platform architecture
represents the architecture for the executable when running a
64-bit only executable on OSX.
2009-12-24 13:06:39 +00:00
Tarek Ziadé 3efd767336 backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing 2009-12-21 23:31:55 +00:00
Tarek Ziadé 2b66da7d15 massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
Tarek Ziadé 2421d56e02 Fixed #7552: fixed distutils.command.upload failure on very long passwords 2009-12-20 23:23:34 +00:00
Tarek Ziadé c0680e2d4b cleaned up the module (PEP 8 + old fashion test removal) 2009-12-15 06:29:19 +00:00
Tarek Ziadé 6c4847fbee using an existing file to avoid dealing with a sleep to test file ages 2009-12-10 19:29:53 +00:00
Tarek Ziadé 1bd9b5e925 added test coverage for distutils.dep_util, and cleaned up the module 2009-12-10 15:29:03 +00:00
Ronald Oussoren 9fa9a0d635 Fix an issue with the detection of a non-existing SDK
on OSX. Without this patch it wasn't possible after all
to compile extensions on OSX 10.6 with the binary
installer unless the user had installed the (non-default)
10.4u SDK.
2009-12-10 10:27:09 +00:00
Tarek Ziadé 4b7f9439c0 removed the usage of rfc822 in favor of email.message.Message 2009-12-08 09:39:51 +00:00
Tarek Ziadé a939ecd95b Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files 2009-12-08 08:56:49 +00:00
Tarek Ziadé 4f38317d5a Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description field 2009-12-06 09:22:40 +00:00
Benjamin Peterson d78cec5f39 bump version to 2.7a1 2009-12-05 17:47:56 +00:00
Martin v. Löwis c218a2fac8 Issue #4120: Drop reference to CRT from manifest when building
extensions with msvc9compiler.
2009-12-03 20:53:51 +00:00
Tarek Ziadé a5076a2543 Fixed #7408: dropped group ownership checking because it relies on os-specific rules 2009-11-29 22:20:30 +00:00
Tarek Ziadé 39de1fc5c8 dragfullwindows can have value 2 2009-11-19 05:33:16 +00:00
Tarek Ziadé acccafcf70 #7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install 2009-11-18 08:46:56 +00:00
Tarek Ziadé 9c48da74bc fixed stdout alteration in test_distutils 2009-11-01 22:33:45 +00:00
Tarek Ziadé c9dbca8d63 removed spurious spaces 2009-10-28 06:45:18 +00:00
Tarek Ziadé 40b998b05d Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils 2009-10-27 23:06:10 +00:00
Tarek Ziadé 1733c9362b fixed warning and error message 2009-10-24 15:51:30 +00:00
Tarek Ziadé 468f700af7 fixed finally state in distutils.test_util 2009-10-24 15:19:03 +00:00
Tarek Ziadé b9c1cfc428 Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode 2009-10-24 15:10:37 +00:00
Tarek Ziadé 672422a328 #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd 2009-10-24 13:29:44 +00:00
Tarek Ziadé 2b06d42db5 Changed distutils tests to avoid environment alteration 2009-10-18 09:28:26 +00:00
Tarek Ziadé 19e6f0160d this test requires zlib support 2009-10-16 23:04:16 +00:00
Benjamin Peterson de0559998f replace callable() 2009-10-09 22:05:45 +00:00
Andrew M. Kuchling b6f0128c63 Use standard comma punctuation; reword some sentences in the docs 2009-10-05 22:32:48 +00:00
Tarek Ziadé 3b34dd871a now uses the right exception type 2009-10-03 14:52:33 +00:00
Tarek Ziadé f638486cf0 removing the last remaning apply() calls 2009-10-03 00:07:35 +00:00
Tarek Ziadé 1b48671ef1 #6516 added owner/group support for tarfiles in Distutils 2009-10-02 23:49:48 +00:00
Ronald Oussoren 68776dbd3c Half of the fix for issue 6957: ensure that distutils
ignores the '-isysroot' option on OSX when the
corresponding SDK is not installed.

This ensures that the user can compile extensions
on OSX 10.6 using the Python.org installer and a
default installation of Xcode.
2009-09-22 19:27:44 +00:00
Tarek Ziadé 0cfef2c3a4 forgot to commit a file in previous commit (r74994, issue #6954) 2009-09-21 13:49:57 +00:00
Tarek Ziadé 9977335984 #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils. 2009-09-21 13:41:08 +00:00
Tarek Ziadé ccaf380fab improving distutils coverage 2009-09-21 13:23:35 +00:00
Tarek Ziadé 6d2db3784a improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch) 2009-09-21 12:19:07 +00:00
Ronald Oussoren 0180565054 Update distutils.util tests after my changes
to --with-universal-archs
2009-09-15 21:24:07 +00:00
Ronald Oussoren 5d90029041 Finish support for --with-universal-archs=intel
and --with-universal-archs=3-way (issue6245)
2009-09-15 19:13:15 +00:00
Ezio Melotti 1036a7f7e1 #6026 - fix tests that failed without zlib 2009-09-12 14:43:43 +00:00
Tarek Ziadé bed26a3ce3 Issue #6163: Fixed HP-UX runtime library dir options in distutils.unixcompiler 2009-09-09 08:14:20 +00:00
Tarek Ziadé 9132916efb fixed typo 2009-08-18 08:21:49 +00:00
Tarek Ziadé 1c8c9d1264 added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed 2009-08-18 08:16:33 +00:00
Tarek Ziadé e2f35c3588 module cleanup 2009-08-17 21:48:22 +00:00
Tarek Ziadé 98026f1521 fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore 2009-08-17 21:28:34 +00:00
Tarek Ziadé af2406f215 Issue #6545: Removed assert statements in distutils.Extension, so the behavior is similar when used with -O 2009-07-22 08:55:19 +00:00
Tarek Ziadé a99dedfce2 #6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions) 2009-07-16 15:35:45 +00:00
Hirokazu Yamamoto 6633a6606b Fixed distutils test. 2009-07-12 02:04:47 +00:00
Tarek Ziadé 51f32c00e8 reverted changes for #6459 (doesn't apply on 2.x) 2009-07-11 17:21:00 +00:00
Tarek Ziadé 23a3775cc8 fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' 2009-07-11 10:55:27 +00:00
Tarek Ziadé 51c045d6b4 cleaned up distutils.build_ext module 2009-07-11 10:48:31 +00:00
Tarek Ziadé 1c6ebc22bc cleaned up distutils.command.build 2009-07-10 10:00:21 +00:00
Tarek Ziadé 3f7cba1b65 Added test coverage for distutils.command.build 2009-07-10 09:57:15 +00:00
Tarek Ziadé 8c40001175 Fixed #6455 (the test shall use pyd files under win32, rather than so files) 2009-07-10 09:10:33 +00:00
Tarek Ziadé 00490f2754 PendingDeprecationWarning -> DeprecationWarning in build_ext 2009-07-09 07:42:42 +00:00
Tarek Ziadé 42b145d0e2 Sets the compiler attribute to keep the old behavior for third-party packages. 2009-07-08 22:40:51 +00:00
Tarek Ziadé e670e5ad5b Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option) 2009-07-06 12:50:46 +00:00
Tarek Ziadé cd947e0c6a using print statements when used for user interaction 2009-07-04 02:59:19 +00:00
Tarek Ziadé 63f1738d4b Fixed #6413: fixed log level in distutils.dist.announce 2009-07-04 02:02:41 +00:00
Tarek Ziadé 9ad7bbc637 cleaned distutils.file_util 2009-07-03 19:14:49 +00:00
Tarek Ziadé eea9d0d846 basic tests to raise distutils.file_util coverage 2009-07-03 19:01:12 +00:00
Tarek Ziadé fe97ebbf62 cleaned up distutils.command.build_py 2009-07-03 09:01:07 +00:00
Tarek Ziadé 65ec61ed06 Fixed #6403 : package path usage for build_ext 2009-07-03 08:22:56 +00:00
Tarek Ziadé 3757fbba25 pep8-fied and cleaned up distutils.util 2009-07-02 14:20:47 +00:00
Tarek Ziadé 85bb62872d cleaned up the bdist_dumb module 2009-07-02 12:51:56 +00:00
Tarek Ziadé d0ca455368 raising bdist_dumb test coverage 2009-07-02 12:47:54 +00:00
Benjamin Peterson 5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Tarek Ziadé 3fbcc60eb8 Fixed 6365: wrong inplace location for build_ext if the extension had dots 2009-06-29 16:13:39 +00:00
Steven Bethard 35fad2fc48 Fix memory bug in bdist_msi. (Commit okayed in issue6319.) 2009-06-21 21:03:41 +00:00
Tarek Ziadé 439bf93f8c Fixed #6164 AIX specific linker argument in Distutils unixcompiler 2009-06-20 13:57:20 +00:00
Tarek Ziadé c1df95e12f starting distutils.ccompiler test coverage and cleanup 2009-06-16 08:31:01 +00:00
Tarek Ziadé a1cc040828 Issue #6286: distutils upload command now uses urllib2 2009-06-15 23:30:13 +00:00
Tarek Ziadé d7c5cee2d5 code cleanup 2009-06-15 23:04:29 +00:00
Martin v. Löwis 2dcd7a0d52 Support AMD64 in msilib. Set Win64 on reglocator.
Fixes #6258.
2009-06-12 17:28:31 +00:00
Tarek Ziadé ff1081874a pep8-fied cygwinccompiler module 2009-06-11 09:55:09 +00:00
Tarek Ziadé c7498f5aab #6263 fixed syntax error in distutils.cygwinccompiler 2009-06-11 09:13:36 +00:00
Tarek Ziadé 2d36afd15e removed the last string.split() call 2009-06-11 08:43:26 +00:00
Tarek Ziadé 25d2bae1c9 Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles 2009-06-11 08:12:20 +00:00
Tarek Ziadé 7ca57aa9fa Distutils: started code cleanup and test coverage for cygwinccompiler 2009-06-10 18:49:50 +00:00
Tarek Ziadé 3b5d5fb123 reverting r72823 : Python trunk has to use latin-1 encoding 2009-06-05 13:37:29 +00:00
Tarek Ziadé e616c53aec improved test coverage for distutils.command.install and cleaned it up 2009-06-04 07:31:52 +00:00
Tarek Ziadé 8df921b46b assertion message was dropped 2009-06-03 11:20:44 +00:00
Tarek Ziadé fe327b97d2 more cleanup and test coverage for distutils.extension 2009-06-03 11:12:08 +00:00
Tarek Ziadé c6709978ac added some tests for distutils.extension + code cleanup 2009-06-03 10:26:26 +00:00
Tarek Ziadé abb4ec6dc4 improved distutils.spawn test coverage + cleaned it up 2009-06-02 15:58:43 +00:00
Tarek Ziadé c01cbc42aa improved distutils.dist test coverage, pep-8 compliancy 2009-06-01 22:22:13 +00:00
Tarek Ziadé 3e3eace7d7 Fixed #6131: test_modulefinder leaked when run after test_distutils 2009-05-29 08:08:07 +00:00
Tarek Ziadé 460f6c86b4 using 'tar' then 'gzip' in the test, because 'tar -czf' is not supported under some platforms 2009-05-28 13:55:51 +00:00
Tarek Ziadé 9e5d2dc6a6 Fixed #6048: Distutils uses the tarfile module instead of the tar command now 2009-05-28 12:53:54 +00:00
Martin v. Löwis 53b578eba1 Issue #6065: Do not try to build a version-independent
installer if the package has extension modules.

Also add NEWS entry for #5311.
2009-05-24 19:10:52 +00:00
Tarek Ziadé aafd6b850e fixed encoding 2009-05-22 09:42:43 +00:00
Tarek Ziadé 7d7127dd84 fixed the 'package' option of build_ext 2009-05-19 16:17:21 +00:00
Tarek Ziadé 07bbfcc5e2 Fixed #6053 - win32 fixes for distutils tests 2009-05-18 12:21:26 +00:00
Tarek Ziadé 6deb574be3 working with relative paths to avoid tar warnings on absolute paths 2009-05-18 08:20:55 +00:00
Tarek Ziadé fcc7f039ec Fixed the library extension when distutils build_ext is used inplace 2009-05-18 08:03:37 +00:00
Tarek Ziadé 6dd6b619a8 fixed the test name 2009-05-17 14:59:05 +00:00
Tarek Ziadé 6f826ed4c2 pep8-fied distutils.archive_util + added minimum test coverage 2009-05-17 12:04:57 +00:00