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
Christian Heimes
3305c52de7
Applied my patch #1455 with some extra fixes for VS 2005
...
The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier.
I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
2007-12-03 13:47:29 +00:00
Georg Brandl
aef205d1a8
#1120 : put explicit version in the shebang lines of pydoc, idle
...
and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
2007-09-12 19:29:28 +00:00
Skip Montanaro
0539313b09
be explicit about the actual location of the missing file
2007-09-08 00:34:17 +00:00
Mark Hammond
1bb124ad0d
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
...
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
2007-08-21 01:05:16 +00:00
Mark Hammond
e4f271f38d
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
...
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
2007-08-21 01:04:47 +00:00
Martin v. Löwis
254b8f9096
Change location of the package index to pypi.python.org/pypi
2007-07-25 16:24:23 +00:00