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
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
Tarek Ziadé
c5ed5ba585
Fixed #3987 : removed unused import
2009-02-06 08:20:15 +00:00
Tarek Ziadé
05adf073cc
fixed #1520877 : now distutils reads Read from the environment/Makefile
2009-02-06 01:15:51 +00:00
Tarek Ziadé
aaf2e18841
using >= so setting verbose to 2 will work as well
2009-02-06 00:49:45 +00:00
Tarek Ziadé
5dde357c9e
README now reflects the current state
2009-02-06 00:46:57 +00:00
Tarek Ziadé
d5eb985492
Fixed #1276768 : verbose option was not used in the code.
2009-02-06 00:31:59 +00:00
Tarek Ziadé
0d4fd3493e
Fixed #5132 : enable extensions to link on Solaris
2009-02-05 22:52:52 +00:00
Neil Schemenauer
a52f1c62eb
Fix test_build_ext.py to work when building in a separate directory.
...
Since "srcdir" should now be defined on all platforms, use it to
find the module source.
2009-02-05 16:25:16 +00:00
Neil Schemenauer
e844be6d9a
Since sysconfig.get_python_inc() now works when building in a
...
directory other than the source directory, simplify the test code in
test_sysconfig.py.
2009-02-05 16:19:05 +00:00
Neil Schemenauer
444df45739
Fix get_python_inc() to work when building in a directory separate from
...
the source. Also, define 'srcdir' on non-posix platforms.
2009-02-05 16:14:39 +00:00
Tarek Ziadé
97a69f0c10
Fix comment for #1835
2009-02-05 09:06:23 +00:00
Tarek Ziadé
5da9a51d9d
fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available
2009-01-29 23:49:17 +00:00
Mark Hammond
6ed1cb0014
Fix issue5075: bdist_wininst should not depend on the vc runtime?
2009-01-29 12:13:31 +00:00
Tarek Ziadé
aaedcef578
Fixed #1885 : --formats=tar,gztar was not working properly in the sdist command
2009-01-25 23:34:00 +00:00
Tarek Ziadé
7c28be8df5
added missing module docstring
2009-01-25 22:11:04 +00:00
Tarek Ziadé
9f369e9163
Issue #5052 : removed backward compatibility information (out of date)
2009-01-25 22:09:10 +00:00
Tarek Ziadé
ef249b13eb
Fixed #4863 : removed distutils.mwerkscompiler
2009-01-25 18:19:25 +00:00
Tarek Ziadé
1a240fb9f0
fixed #4394 make the storage of the password optional in .pypirc
2009-01-08 23:56:31 +00:00
Hirokazu Yamamoto
fde5b803d8
Issue #4864 : test_msvc9compiler failed on VC6/7.
...
Reviewed by Amaury Forgeot d'Arc.
2009-01-07 09:42:28 +00:00
Tarek Ziadé
d81780b8b0
using clearer syntax
2009-01-04 10:37:52 +00:00
Tarek Ziadé
85d6fb5022
fixed #1702551 : distutils sdist was not pruning VCS directories under win32
2009-01-04 00:04:49 +00:00
Tarek Ziadé
b1a85413b1
Fixed #4702 : Throwing DistutilsPlatformError instead of IOError under win32 if MSVC is not found
2008-12-30 23:03:41 +00:00
Tarek Ziadé
c13acb18bc
fixed #4646 : distutils was choking on empty options arg in the setup function.
2008-12-29 22:23:53 +00:00
Ronald Oussoren
88a3083c28
Update the fix for issue4064 to deal correctly with all three variants of
...
universal builds that are presented by the configure script.
2008-12-28 19:50:40 +00:00
Ronald Oussoren
4b48c612bb
Issue4064: architecture string for universal builds on OSX
2008-12-28 19:40:56 +00:00
Tarek Ziadé
e4c75bb585
fixed #4400 : distutils .pypirc default generated file was broken.
2008-12-24 19:10:05 +00:00
Amaury Forgeot d'Arc
240028cb77
#1030250 : correctly pass the dry_run option to the mkpath() function.
2008-12-11 00:03:42 +00:00
Christian Heimes
aa67471227
Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception
2008-11-28 11:02:32 +00:00
Barry Warsaw
afa1436958
Bumping to 2.6 final.
2008-10-01 21:46:40 +00:00
Hirokazu Yamamoto
1672e10dc2
Issue #3925 : Ignores shutil.rmtree error on cygwin too.
...
Reviewed by Benjamin Peterson.
2008-09-21 20:48:41 +00:00
Barry Warsaw
6af16190f6
Bumping to 2.6rc2
2008-09-18 04:33:43 +00:00
Mark Hammond
900155fa42
avoid putting unicode objects in the environment causing
...
later test failures. As discussed on #python-dev
2008-09-18 03:51:46 +00:00
Barry Warsaw
1e62aec3ed
Bumping to 2.6rc1
2008-09-12 23:25:57 +00:00
Marc-André Lemburg
b339b2aa6f
Issue #2562 : Fix distutils PKG-INFO writing logic to allow having
...
non-ascii characters and Unicode in setup.py meta-data.
2008-09-03 11:13:56 +00:00
Amaury Forgeot d'Arc
293924bf31
Issue 2975: when compiling multiple extension modules with visual studio 2008
...
from the same python instance, some environment variables (LIB, INCLUDE)
would grow without limit.
Tested with these statements:
distutils.ccompiler.new_compiler().initialize()
print os.environ['LIB']
But I don't know how to turn them into reliable unit tests.
2008-09-02 23:19:56 +00:00
Barry Warsaw
07a4a3851d
Bump to 2.6b3.
2008-08-21 01:15:08 +00:00
Amaury Forgeot d'Arc
351ffb80c3
#2234 distutils failed with mingw binutils 2.18.50.20080109.
...
Be less strict when parsing these version numbers,
they don't necessarily follow the python numbering scheme.
2008-08-18 19:23:47 +00:00
Marc-André Lemburg
4763f7184e
Restore Python 2.3 compatibility and remove "with" usage.
2008-08-18 11:13:45 +00:00
Brett Cannon
047e4a915d
Update distutils so that it triggers no warnings when run under -3.
2008-08-17 04:16:04 +00:00
Hirokazu Yamamoto
41a4f4631b
Fixed test_distutils error (test_build_ext) on VC6.
2008-08-14 05:50:43 +00:00
Barry Warsaw
daddf03f77
Bumping to 2.6b2
2008-07-18 03:20:07 +00:00
Jesse Noller
a6c5dc07f4
Apply patch for issue 3090: ARCHFLAGS parsing incorrect
2008-07-16 13:24:06 +00:00
Barry Warsaw
b5d174037f
Bumping to 2.6b1
2008-06-19 01:48:07 +00:00
Ronald Oussoren
5640ce2f1e
MacOS X: Enable 4-way universal builds
...
This patch adds a new configure argument on OSX:
--with-universal-archs=[32-bit|64-bit|all]
When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).
This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.
I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Mark Hammond
5bd88333ee
Fix bdist_wininst --user-access-control for win2k
2008-05-31 05:11:07 +00:00
Mark Hammond
88eeef35d7
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.
2008-05-28 01:54:55 +00:00
Thomas Heller
b4701e638c
On Windows, we must build a debug version iff running a debug build of
...
Python
2008-05-26 11:42:40 +00:00
Georg Brandl
392c6fc02d
ConfigParser renaming reversal part 3: move module into place and adapt imports.
2008-05-25 07:25:25 +00:00
Martin v. Löwis
68faf5b0fc
Use announce instead of print, to suppress output in
...
the testsuite.
2008-05-24 09:00:04 +00:00
Georg Brandl
88e2acf038
GHOP #257 : test distutils' build_ext command, written by Josip Dzolonga.
2008-05-18 11:52:36 +00:00
Alexandre Vassalotti
eb8cef2664
Fixed import of configparser in the distutils module.
...
If configparser is unavailable, try to import configparser using its
old name. This is required for backward-compatibility with older
Python versions.
2008-05-16 02:06:59 +00:00
Alexandre Vassalotti
3b46fcfb38
Revert r63323: Use lowercase version of module name.
...
The distutils module should continue to use the old ConfigParser name,
for backward-compatibility.
2008-05-15 20:30:56 +00:00
Andrew M. Kuchling
a5c3878b32
Import class from distutils.cmd, not .core, to avoid circular import
2008-05-15 20:07:39 +00:00
Andrew M. Kuchling
e00aeccf2e
Use lowercase version of module name
2008-05-15 20:06:51 +00:00
Alexandre Vassalotti
7663f9e4ff
Revert distutils changes done in r63248.
...
As explained by Marc-Andre Lemburg, distutils needs to stay
backward-compatible. Therefore, it should use the old ConfigParser
module name.
2008-05-15 00:33:57 +00:00
Alexandre Vassalotti
e2514c6f10
Updated import statements to use the new `configparser` module name.
...
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.
Georg, I am reverting your changes since this commit should propagate
to py3k.
2008-05-14 22:44:22 +00:00
Andrew M. Kuchling
5128fb9715
Try setting HOME env.var to fix test on Win32
2008-05-11 20:08:33 +00:00
Andrew M. Kuchling
ca3ccd15ff
Add message to test assertion
2008-05-11 19:15:52 +00:00
Andrew M. Kuchling
aac5c8669f
#1858 : re-apply patch for this, adding the missing files
2008-05-11 14:00:00 +00:00
Andrew M. Kuchling
2bca212239
#1858 : add distutils.config module
2008-05-10 22:12:38 +00:00
Brett Cannon
10f5db6424
Revert r62998 as it broke the build (seems distutils.config is missing).
2008-05-10 20:52:01 +00:00
Andrew M. Kuchling
cd8001c8ed
#1858 from Tarek Ziade:
...
Allow multiple repositories in .pypirc; see http://wiki.python.org/moin/EnhancedPyPI
for discussion.
The patch is slightly revised from Tarek's last patch: I've simplified
the PyPIRCCommand.finalize_options() method to not look at sys.argv.
Tests still pass.
2008-05-10 19:51:55 +00:00
Christian Heimes
17433d206c
Add --user option to build_ext
2008-05-09 12:19:09 +00:00
Benjamin Peterson
9ec4aa01f9
Replace instances of os.path.walk with os.walk
2008-05-08 22:09:54 +00:00
Barry Warsaw
6cc7940e10
Bump to 2.6a3
2008-05-08 13:16:19 +00:00
Christian Heimes
af748c3ab8
Implemented PEP 370
2008-05-06 22:41:46 +00:00
Mark Hammond
7c5c8e6823
#2581 : Vista UAC/elevation support for bdist_wininst
2008-05-02 12:48:15 +00:00
Mark Hammond
495cf99aaf
Issue #2513 : enable 64bit cross compilation on windows.
2008-04-07 01:53:39 +00:00
Thomas Wouters
2fab8f1abb
Fix test_distutils to not fail when running 'make test' from a Python build
...
directory that is not the source directory (ie, one created using
'/path/to/source/configure'.) Leaves this test very slightly degraded in
that particular case, compared to the build-in-sourcedir case, but that case
isn't a particularly strong test either: neither test the actual path that
will be used after installing. There isn't a particularly good way to test
this, and a poor test beats a failing test.
2008-04-05 23:39:15 +00:00
Fred Drake
449651558c
stupid, stupid, stupid!
2008-04-04 11:38:51 +00:00
Fred Drake
fe7056240b
my previous change did what I said it should not: it changed the current
...
directory to the directory in which the setup.py script lived (which made
__file__ wrong)
fixed, with test that the script is run in the current directory of the caller
2008-04-04 11:31:14 +00:00
Fred Drake
46c58c17f1
- Issue #2385 : distutils.core.run_script() makes __file__ available, so the
...
controlled environment will more closely mirror the typical script
environment. This supports setup.py scripts that refer to data files.
2008-04-04 05:41:30 +00:00
Barry Warsaw
9649cdd5d4
Updating for 2.6a2
2008-04-03 04:10:02 +00:00
Trent Nelson
b27745fb6d
Issue2290: Support x64 Windows builds that live in pcbuild/amd64. Without it, sysutils._python_build() returns the wrong directory, which causes the test_get_config_h_filename method in Lib/distutils/tests/test_sysconfig.py to fail.
2008-03-19 06:28:24 +00:00
Georg Brandl
1df03405fc
#1725737 : ignore other VC directories other than CVS and SVN's too.
2008-03-06 06:47:18 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Guido van Rossum
8bc0965adf
Removed uses of dict.has_key() from distutils, and uses of
...
callable() from copy_reg.py, so the interpreter now starts up
without warnings when '-3' is given. More work like this needs to
be done in the rest of the stdlib.
2008-02-21 18:18:37 +00:00
Andrew M. Kuchling
2d6c13e733
Close manifest file.
...
This change doesn't make any difference to CPython, but is a necessary fix for Jython.
2008-02-21 14:23:38 +00:00
Marc-André Lemburg
2db7cd3ae2
Keep distutils Python 2.1 compatible (or even Python 2.4 in this case).
2008-02-05 14:50:40 +00:00
Christian Heimes
3af3ecca92
Fixed paths to Windows build directories in build_ext.py
...
Use vsbuild instead of devenv in build.bat and _bsddb.vcproj
2008-02-03 14:34:18 +00:00
Marc-André Lemburg
1aa8a696f5
Bump distutils version number to match Python version.
2008-02-01 22:58:17 +00:00
Georg Brandl
501601591b
#1530959 : change distutils build dir for --with-pydebug python builds.
2008-01-21 17:42:40 +00:00
Guido van Rossum
27edd829d7
Patch #1696 . Don't attempt to close None in dry-run mode.
2008-01-02 19:00:46 +00:00
Christian Heimes
9a1d8cec11
Added support for new Windows build dirs in PC/ to distutils.sysconfig
2008-01-01 14:37:32 +00:00
Christian Heimes
cdaa2cbfd5
Added wininst-9.0.exe executable for VS 2008
...
Integrated bdist_wininst into PCBuild9 directory
2007-12-31 14:47:07 +00:00
Christian Heimes
c67a15d865
Fixed bug #1628
...
The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.
2007-12-14 23:42:36 +00:00
Christian Heimes
0a0e583259
Fixed bug #1613 : Makefile's VPATH feature is broken
2007-12-13 19:23:16 +00:00
Christian Heimes
0a5e54e732
Disabled one test that is failing on Unix
2007-12-06 13:55:01 +00:00
Christian Heimes
d3fc07a4a0
Fixed get_config_h_filename for Windows. Without the patch it can't find the pyconfig.h file inside a build tree.
...
Added several small unit tests for sysconfig.
2007-12-06 13:15:13 +00:00
Christian Heimes
cbdb705c88
Fixed bug #1557 by using popen.communicate() before popen.wait()
2007-12-05 20:10:38 +00:00