Commit Graph

1446 Commits

Author SHA1 Message Date
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
Tarek Ziadé 513a8b7d99 pep8-fied distutils.dir_util 2009-05-17 11:22:36 +00:00
Tarek Ziadé 294c9d90df removed sys.platform == 'mac' usage in distutils.dir_util 2009-05-17 11:11:57 +00:00
Tarek Ziadé 016828d119 removed sys.platform == 'mac' support in distutils.dist.parse_command_line and improved test coverage 2009-05-17 10:44:12 +00:00
Tarek Ziadé 8d252e498c not running this test with MSVC6 2009-05-17 10:07:48 +00:00
Tarek Ziadé ae6acfc9a1 pep8-fied distutils.dist module 2009-05-16 18:29:40 +00:00
Tarek Ziadé cb76804b17 #6041: sdist and register now use the check command. No more duplicate code for metadata checking 2009-05-16 16:37:06 +00:00
Antoine Pitrou f541378d13 Fix bootstrapping by removing uses of the copy module in distutils 2009-05-15 17:27:30 +00:00
Tarek Ziadé cbb4f9ef58 #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd 2009-05-14 20:14:13 +00:00
Tarek Ziadé 8953913cf5 pep8-fied distutils.command.sdist + more tests 2009-05-14 14:56:14 +00:00
Tarek Ziadé 064a768101 more test coverage for distutils sdist command 2009-05-14 12:40:59 +00:00
Tarek Ziadé d547144f0f adding void to the c function 2009-05-13 22:16:03 +00:00
Tarek Ziadé 1652410429 added an inifoo in the C file, to avoid a warning by the MSVC9 linker 2009-05-13 21:30:06 +00:00
Benjamin Peterson e9a2b8a0e3 the compiler attribute is used in setup.py; can't rename 2009-05-12 21:06:05 +00:00
Tarek Ziadé 972480d999 fixed #5977: distutils build_ext.get_outputs was not using the inplace option 2009-05-12 17:07:14 +00:00
Tarek Ziadé 4ba25c25d2 removing the assert statement so the code works when Python is run with -O 2009-05-12 07:01:29 +00:00
Tarek Ziadé 68e27eb834 distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers 2009-05-11 08:45:17 +00:00
Tarek Ziadé 2bb084e643 fixed test_build_ext for win32 2009-05-10 21:27:55 +00:00
Tarek Ziadé e3f68a1a96 fixed test for all platforms 2009-05-10 12:36:48 +00:00
Tarek Ziadé 450ca11a58 now using EnvironGuard everywhere 2009-05-10 12:17:30 +00:00
Tarek Ziadé d35f2a33d5 refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard 2009-05-10 11:59:30 +00:00
Tarek Ziadé 234ab8fc1c Added tests form install_lib and pep8-fied the module 2009-05-10 11:42:46 +00:00
Tarek Ziadé d5d83424d2 fixed #5984 and improved test coverage 2009-05-10 10:12:08 +00:00
Tarek Ziadé 812d77152e #5976: fixed distutils test_check_environ 2009-05-09 10:06:00 +00:00
Tarek Ziadé e2be83def8 Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used 2009-05-09 08:28:53 +00:00
Tarek Ziadé 6f9977852f fixed AR/ARFLAGS values in test_sysconfig 2009-05-07 23:01:56 +00:00
Tarek Ziadé 99f660af3f Fixed #5941: added ARFLAGS for the archiver command. 2009-05-07 21:20:34 +00:00
Tarek Ziadé ff748cd6eb removed remaining spaces 2009-05-07 21:13:02 +00:00
Tarek Ziadé 56342d578e removed string.split usage 2009-05-06 08:11:00 +00:00
Tarek Ziadé ccf608c94c more build_clib cleanup + test coverage 2009-05-06 08:05:47 +00:00
Tarek Ziadé b04a05709d pep8-fied build_clib module : it is now similar to the one in 3.x 2009-05-06 07:41:53 +00:00
Tarek Ziadé d2bb1a5377 Added a test and cleaned check_library_list to be ready to fix #5940 2009-05-06 07:17:52 +00:00
Steven Bethard ab538fc2b2 Update bdist_msi so that the generated MSIs for pure Python modules can install to any version of Python, like the generated EXEs from bdist_wininst. (Previously, you had to create a new MSI for each version of Python.) 2009-05-05 01:31:22 +00:00
Tarek Ziadé a1b91d944b Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore 2009-04-29 08:03:46 +00:00
Tarek Ziadé bcddf6777a #5810: Fixed Distutils test_build_scripts 2009-04-25 12:51:59 +00:00
Tarek Ziadé d567c38ef2 Issue #4951: Fixed failure in test_httpservers 2009-04-25 12:38:08 +00:00
Tarek Ziadé 2c4e741447 making BuildWinInstTestCase silent in case bdist_wininst is not run under win32 2009-04-20 10:33:47 +00:00
Tarek Ziadé 92d77b7eac #5795 sysconfig._config_vars was shadowed in tearDown 2009-04-20 07:53:55 +00:00
Tarek Ziadé 783f493173 DistutilsSetupError was not raised when one single warning occured 2009-04-17 14:29:56 +00:00
Tarek Ziadé eb6e0f583d pep8-fied 2009-04-13 20:14:54 +00:00
Tarek Ziadé 2fdd0d5ab7 improved test coverage for distutils.cmd 2009-04-13 20:03:44 +00:00
Tarek Ziadé 710fbc32ae deactivate test_search_cpp under win32 2009-04-13 12:42:26 +00:00
Tarek Ziadé 156c31a7be Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries. 2009-04-13 12:34:01 +00:00
Tarek Ziadé 3295eed64b removed string usage and added a test for _clean 2009-04-12 17:02:08 +00:00
Tarek Ziadé e643bed198 added a test for finalize_options 2009-04-12 16:45:32 +00:00
Tarek Ziadé f6f4b3084c added a simple test for search_cpp 2009-04-12 16:31:24 +00:00
Tarek Ziadé 7bea344d35 pep8-fied the module before adding tests 2009-04-12 15:03:50 +00:00
Tarek Ziadé aa48798f1e removed the print statements and added a test 2009-04-12 14:53:51 +00:00
Tarek Ziadé c2936b786a testing a full check case 2009-04-11 15:14:17 +00:00
Tarek Ziadé 942825f7de #5732: added the check command into Distutils 2009-04-11 14:55:07 +00:00
Tarek Ziadé ad95826c33 Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms 2009-04-09 21:36:44 +00:00
Tarek Ziadé fdda68e030 pep8-fied method names 2009-04-05 23:03:10 +00:00
Tarek Ziadé 64408fb4c5 Fixed #5095: msi missing from Distutils bdist formats 2009-04-05 22:51:09 +00:00
Tarek Ziadé d9e221d232 added a simplest test to distutils.spawn._nt_quote_args 2009-04-05 22:04:38 +00:00
Tarek Ziadé faa6b121fb Fixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test 2009-04-05 21:44:08 +00:00
Tarek Ziadé 453d953f3e Fixed 5694: removed spurious test output in Distutils 2009-04-05 18:31:24 +00:00
Georg Brandl 63959bb973 #5631: add upload to list of possible commands, which is presented in --help-commands. 2009-04-01 04:32:39 +00:00
Tarek Ziadé 3bb5a9642b fixed the test for win32 CompileError 2009-03-31 22:47:01 +00:00
Tarek Ziadé 2bdefb3eee catching msvc9compiler error as well 2009-03-31 22:44:10 +00:00
Tarek Ziadé 9e47ce49a0 #5583 Added optional Extensions in Distutils 2009-03-31 22:27:23 +00:00
Tarek Ziadé 1a1158f955 making sdist and config test silents 2009-03-31 20:56:11 +00:00
Tarek Ziadé 899dd1221d added tests to the install_headers command 2009-03-31 20:55:21 +00:00
Tarek Ziadé a961a0444d added test to the install_data command 2009-03-31 20:54:38 +00:00
Tarek Ziadé e899b711df more tests for the upload command 2009-03-31 20:53:55 +00:00
Tarek Ziadé ca2b8d283a more tests for the register command 2009-03-31 20:53:13 +00:00
Tarek Ziadé 023862890f added tests for the clean command 2009-03-31 20:50:59 +00:00
Tarek Ziadé c7cd138bc2 using log.warn for sys.stderr 2009-03-31 20:48:31 +00:00
Georg Brandl 5adab304e3 Fix typo. 2009-03-28 00:48:48 +00:00
Hirokazu Yamamoto bb7467f6e3 Added skip for old MSVC. 2009-03-15 22:43:14 +00:00
Tarek Ziadé 61585c260c Issue #5472: Fixed distutils.test_util tear down 2009-03-11 12:48:04 +00:00
Tarek Ziadé 943b24e7e4 Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler 2009-03-07 00:32:45 +00:00
Tarek Ziadé ce45a967c2 removing the force-optimized option as discussed in #1533164 2009-03-02 05:38:44 +00:00
Tarek Ziadé 7334735ee1 Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command 2009-02-28 10:08:02 +00:00
Tarek Ziadé dda92f7f02 Issue #5052: make Distutils compatible with 2.3 again. 2009-02-27 12:53:34 +00:00
Tarek Ziadé b5fc89ee57 removed unused import 2009-02-26 23:44:00 +00:00
Tarek Ziadé e3bc0eff25 Fixed #5316 : test failure in test_site 2009-02-25 22:29:27 +00:00
Tarek Ziadé 11b34d07d8 more test coverage 2009-02-23 12:41:29 +00:00
Tarek Ziadé 7b47172bec Removing unused __main__ sections 2009-02-22 20:15:41 +00:00
Tarek Ziadé 28bba74b7f removing map and lambda usage, so the test is similar to py3k's branch one 2009-02-22 20:11:46 +00:00
Tarek Ziadé 90b7d56d91 moved distutils.text_file tests into a real unittest class 2009-02-22 19:58:12 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Tarek Ziadé 0e5001eff9 fixed the data_files inclusion behavior 2009-02-17 23:06:51 +00:00
Tarek Ziadé f68b5b8046 #2279 added the plain path case for data_files 2009-02-17 09:42:44 +00:00
Tarek Ziadé ae9dc8c48a #2279: use os.sep so the MANIFEST file test work on win32 2009-02-16 21:41:54 +00:00
Tarek Ziadé 7dd533963f Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files 2009-02-16 21:38:01 +00:00
Tarek Ziadé 09d3d2ded6 Replace variable 2009-02-14 14:12:30 +00:00
Tarek Ziadé 1369900619 Fix for #5257: refactored all tests in distutils, so they use a temporary directory. 2009-02-14 14:10:23 +00:00
Tarek Ziadé 544c3e19e6 fix the environ for distutils test_util 2009-02-13 23:41:57 +00:00
Tarek Ziadé 2432b0b367 Fixed #4524: distutils build_script command failed with --with-suffix=3 2009-02-13 23:00:43 +00:00
Tarek Ziadé 275958aacf Issue #2461: added tests for distutils.util 2009-02-13 22:22:03 +00:00
Tarek Ziadé 6f1d931495 reverted leak fix, to use the one done in py3k branch (r67382) 2009-02-13 16:13:16 +00:00
Tarek Ziadé b516c126ef fixing the leak introduced in r69304 2009-02-12 20:56:21 +00:00
Tarek Ziadé 74fbf60e8c Fixed #3386: the optional prefix argument was ignored under OS2 and NT in distutils.sysconfig.get_python_lib 2009-02-10 12:31:09 +00:00
Tarek Ziadé 8be8765a2e #3986 replacing string and types call (like in the Py3k branch), and put exec_msg call at the right place 2009-02-07 00:05:39 +00:00
Neil Schemenauer aa397d1806 Convert "srcdir" into an absolute path if that seems prudent. Currrently
the only user of this is Lib/distutils/tests/test_build_ext.py (in order
to find the source for xxmodule.c).  I'm not sure if other platforms
need similar tweaks, I'm not brave enough to attempt it without being
able to test.
2009-02-06 21:33:45 +00:00
Tarek Ziadé 0d6705b234 Fixed #5167: test_customize_compiler does not apply under non unix compilers 2009-02-06 13:27:38 +00:00
Tarek Ziadé 98da8e151a removed types usage and added test coverage (work for #3986) 2009-02-06 08:55:23 +00:00