Ned Deily
6c779ea553
Issue #15364 : Fix test_srcdir for the installed case.
2012-07-27 23:37:04 -07:00
Richard Oudkerk
46874ad367
Issue #15364 : Fix sysconfig.get_config_var('srcdir') to be an absolute path.
2012-07-27 12:06:55 +01:00
Ned Deily
c7a5a76b1e
Issue #15184 : Some config variables in test_sysconfig_module
...
may differ between sysconfig and distutils.sysconfig due to
compiler customizations on OS X. For now, move those vars
into a separate test and skip if the customization has taken
place in distutils. The long-term solution is to eliminate
having two sysconfig modules.
2012-07-22 02:56:36 -07:00
Ned Deily
df8aa2b325
Issue #15184 : Ensure consistent results of OS X configuration
...
tailoring for universal builds by factoring out common OS X-specific
customizations from sysconfig, distutils.sysconfig, distutils.util,
and distutils.unixccompiler into a new module _osx_support that can
eventually also be used by packaging.
2012-07-21 05:36:30 -07:00
Éric Araujo
00b41fc828
Merge 3.2
2012-03-07 20:50:06 +01:00
Éric Araujo
a420c820fe
Backout buggy patch committed for #13719
2012-03-07 20:48:55 +01:00
Éric Araujo
c53d624235
Merge 3.2
2012-03-05 17:04:20 +01:00
Éric Araujo
c3705d3ac4
Fix NameError from #13719 fix
2012-03-05 17:02:31 +01:00
Éric Araujo
6a59b70cba
Merge 3.2
2012-03-05 16:24:07 +01:00
Éric Araujo
e413c06f35
Make distutils’ upload command work with bdist_msi products ( #13719 ).
...
Patch by Ralf Schmitt.
2012-03-05 16:09:29 +01:00
Éric Araujo
408026c7e8
Merge 3.2
2012-02-26 04:07:37 +01:00
Éric Araujo
845a77205f
Set archive format explicitly in one distutils test
2012-02-26 02:14:33 +01:00
Éric Araujo
c071a613df
Merge 3.2
2012-02-25 16:32:18 +01:00
Éric Araujo
2e0a0e1640
Fix long-standing bugs with MANIFEST.in parsing on Windows ( #6884 ).
...
These regex changes fix a number of issues for distutils on Windows:
- #6884 : impossible to include a file starting with 'build'
- #9691 and #14004 : sdist includes too many files
- #13193 : test_filelist failures
This commit replaces the incorrect changes done in 0a94e2f807c7 and
90b30d62caf2 to fix #13193 ; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches. This
time we have unit tests from the problems reported by users to be sure
we have the right fix.
Thanks to Nadeem Vawda for his help.
2012-02-25 16:28:05 +01:00
Éric Araujo
a76eff7db0
Merge fix from 3.2
2012-02-15 18:13:00 +01:00
Éric Araujo
2a57a36368
Fix test failure for shared builds caused by #1326113 fix
2012-02-15 18:12:12 +01:00
Éric Araujo
1d175f7768
Merge fixes for #1326113 and #12297 from 3.2
2012-02-15 17:13:26 +01:00
Éric Araujo
b2f5c0a4c4
Fix parsing of build_ext --libraries option ( #1326113 )
2012-02-15 16:44:37 +01:00
Éric Araujo
cd0d951a70
Merge edits from 3.2 ( #13716 , #1040439 , #2945 , #13770 , #6715 )
2012-02-05 13:49:59 +01:00
Éric Araujo
cd2a6033ac
Branch merge
2012-02-05 13:41:47 +01:00
Ned Deily
f9b0255db3
merge
2012-02-03 02:45:05 +01:00
Ned Deily
cf550dcff8
Issue #13901 : Prevent test_distutils failures on OS X with --enable-shared.
2012-02-03 02:42:16 +01:00
Éric Araujo
73cec21af2
Stop ignoring RPMs in distutils' upload command ( #2945 ).
...
Bug reported by Hartmut Goebel and patch contributed by Carl Robben.
Carl tested the fix and we have a buildbot with rpm installed, so I’m
committing even though I could not run this test (but I do understand
the changed code :)
2012-01-15 02:48:55 +01:00
Jason R. Coombs
bbb0803924
Limit test scope to those platforms that can save the target filenames. Reference #11638 .
2011-12-28 10:45:08 -05:00
Jason R. Coombs
e7437a7cb3
Ported some test cases from 2.7 for #11638
2011-12-26 12:17:01 -05:00
Éric Araujo
e64052176d
Merge follow-up for #11254 and other changes from 3.2
2011-11-03 05:17:11 +01:00
Éric Araujo
c465b2f843
More fixes for PEP 3147 compliance in distutils ( #11254 )
2011-11-03 03:45:33 +01:00
Éric Araujo
af2ffd75cf
Cleanups in distutils tests.
...
- Actually check the contents of the file created by bdist_dumb.
- Don’t use “RECORD” as filename for non-PEP 376 record file
- Don’t start method name with “_test”, it smells like a disabled test
method instead of an helper method
- Fix some idioms (assertIn, addCleanup)
2011-11-02 18:05:41 +01:00
Mark Hammond
6c58b28f2f
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:05:57 +11:00
Mark Hammond
a9efb6fdd8
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:28:09 +11:00
Éric Araujo
c822f08c71
Merge #11751 from 3.2
2011-10-11 02:46:59 +02:00
Éric Araujo
2336c8553c
Increase test coverage for distutils.filelist ( #11751 ).
...
Patch by Justin Love.
2011-10-11 02:45:51 +02:00
Éric Araujo
67df285a33
Merge 3.2
2011-10-09 08:58:16 +02:00
Éric Araujo
5819dcc0d2
Add tests for Unicode handling in distutils’ check and register ( #13114 )
2011-10-09 07:25:33 +02:00
Éric Araujo
6ebea15e0b
Merge fixes for #10526 , #10359 , #11254 , #9100 and the bug without number
2011-10-08 02:57:45 +02:00
Éric Araujo
47a4521ece
Fix distutils byte-compilation to comply with PEP 3147 ( #11254 ).
...
Patch by Jeff Ramnani. Tested with -B, -O and -OO.
2011-10-08 00:34:13 +02:00
Éric Araujo
db95c7a60c
Make C code in one distutils test comply with ISO C ( #10359 ).
...
Patch by Hallvard B Furuseth.
2011-10-07 23:13:45 +02:00
Éric Araujo
92ffc500d1
Merge fix for #8933 from 3.2
2011-09-10 04:56:44 +02:00
Éric Araujo
13e8c8e721
Fix determination of Metadata version ( #8933 ). Patch by Filip Gruszczyński.
2011-09-10 01:51:40 +02:00
Éric Araujo
fce67fcd84
Slight cleanup in distutils test_dist.
...
I have tests to add in this file and it’s always nice to start from a
clean base.
2011-09-10 01:34:44 +02:00
Éric Araujo
564fbac7cd
Merge fix for #8286 from 3.2
2011-09-03 00:48:17 +02:00
Éric Araujo
cfbd630a27
Warn instead of crashing because of invalid path in MANIFEST.in ( #8286 ).
...
sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.
2011-09-03 00:42:04 +02:00
Éric Araujo
32e2915da5
Enable catching WARN-level logging messages in distutils' test_sdist
2011-09-03 00:28:43 +02:00
Éric Araujo
793c47a88a
Merge doc changes from 3.2 ( #10454 , #12298 )
2011-09-02 00:03:20 +02:00
Éric Araujo
024de54fc2
Fix typo (was build) and remove redundancy in docstring
2011-09-01 23:37:56 +02:00
Éric Araujo
ff29ff8831
Merge fix for #10946 from 3.2
2011-08-30 01:01:45 +02:00
Éric Araujo
fbe37dfffe
Make bdist_* commands respect --skip-build passed to bdist ( #10946 )
2011-08-29 21:48:39 +02:00
Éric Araujo
3577c3cfb8
Branch merge
2011-08-26 16:30:57 +02:00
Éric Araujo
2f24fda195
Branch merge
2011-08-26 16:30:22 +02:00
Éric Araujo
8d9dcd185c
Merge from 3.2 ( #9302 fix and other changes)
2011-08-26 01:17:56 +02:00