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