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
Neal Norwitz
478b99b89f
Add all of the distuils modules that don't seem to have explicit tests. :-(
...
Move an import in mworkscompiler so that this module can be imported on
any platform. Hopefully this works on all platforms.
2007-06-11 05:28:45 +00:00
Neal Norwitz
4a700bb469
SF 1668596/1720897: distutils now copies data files
...
even if package_dir is empty.
This needs to be backported. I'm too tired tonight. It would be great
if someone backports this if the buildbots are ok with it. Otherwise,
I will try to get to it tomorrow.
2007-06-01 07:29:12 +00:00
Georg Brandl
fb4b3b77c7
Bug #1706381 : Specifying the SWIG option "-c++" in the setup.py file
...
(as opposed to the command line) will now write file names ending in
".cpp" too.
2007-04-24 15:27:13 +00:00
Neal Norwitz
8f35f44af3
SF #1685563 , MSVCCompiler creates redundant and long PATH strings
...
If MSVCCompiler.initialize() was called multiple times, the path
would get duplicated. On Windows, this is a problem because the
path is limited to 4k. There's no benefit in adding a path multiple
times, so prevent that from occuring. We also normalize the path
before checking for duplicates so things like /a and /a/ won't both
be stored.
Will backport.
2007-04-01 18:24:22 +00:00
Marc-André Lemburg
2365fcde60
Bump the patch level version of distutils since there were a few bug fixes since
...
the 2.5.0 release.
2007-03-30 15:01:42 +00:00
Georg Brandl
18c47f6a3b
Patch #1569798 : fix a bug in distutils when building Python from a
...
directory within sys.exec_prefix.
2007-03-13 10:19:22 +00:00
Martin v. Löwis
0a2032673c
Bug #1600860 : Search for shared python library in LIBDIR, not
...
lib/python/config, on "linux" and "gnu" systems.
Will backport.
2007-02-09 12:36:48 +00:00
Matthias Klose
d149d0c76a
- Fix build failure on kfreebsd and on the hurd.
2006-12-03 17:16:41 +00:00
Martin v. Löwis
45cd4ff95d
Patch #1360200 : Use unmangled_version RPM spec field to deal with
...
file name mangling.
Will backport to 2.5.
2006-11-12 18:56:03 +00:00
Phillip J. Eby
305e778a82
Fix SF#1566719: not creating site-packages (or other target directory) when
...
installing .egg-info for a project that contains no modules or packages,
while using --root (as in bdist_rpm).
2006-11-10 00:33:36 +00:00
Martin v. Löwis
5310e5078a
- Patch #1060577 : Extract list of RPM files from spec file in
...
bdist_rpm
Will backport to 2.5.
2006-11-04 18:14:06 +00:00
Tim Peters
ef3f32f965
Whitespace normalization.
2006-10-18 05:09:12 +00:00
Ronald Oussoren
d6272a3cf6
MacOSX: The universal build requires that users have the MacOSX10.4u SDK
...
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.
2006-10-08 17:51:46 +00:00
Ronald Oussoren
d610369e8b
MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
...
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.
2006-10-08 17:49:52 +00:00
Andrew M. Kuchling
9d57e53e4e
[Bug #1545341 ] Allow 'classifier' parameter to be a tuple as well as a list. Will backport.
2006-10-06 13:18:26 +00:00
Martin v. Löwis
8b274265f0
Add MSVC8 project files to create wininst-8.exe.
2006-10-04 15:25:28 +00:00
Marc-André Lemburg
604c864f0f
Revert to having static version numbers again.
2006-08-16 08:13:26 +00:00
Martin v. Löwis
77621585e4
Mention Cygwin in distutils error message about a missing VS 2003.
...
Fixes #1257728 .
2006-07-30 13:27:31 +00:00
Martin v. Löwis
1f30c3777c
Base __version__ on sys.version_info, as distutils is
...
no longer maintained separatedly.
2006-07-30 13:14:05 +00:00
Martin v. Löwis
997ceffe07
Bump distutils version to 2.5, as several new features
...
have been introduced since 2.4.
2006-07-27 06:38:16 +00:00
Phillip J. Eby
137ff79329
Fix SF#1457312: bad socket error handling in distutils "upload" command.
2006-07-10 19:18:35 +00:00
Martin v. Löwis
d24d5b3f81
Change error message to indicate that VS2003 is necessary to build extension modules, not the .NET SDK.
2006-07-10 07:26:41 +00:00
Martin v. Löwis
8d65681e94
Introduce DISTUTILS_USE_SDK as a flag to determine whether the
...
SDK environment should be used. Fixes #1508010 .
2006-07-10 07:23:48 +00:00
Martin v. Löwis
4548239e2b
Bug #1267547 : Put proper recursive setup.py call into the
...
spec file generated by bdist_rpm.
2006-07-03 12:28:58 +00:00
Ronald Oussoren
7b9053a274
MacOSX: fix rather dumb buglet that made it impossible to create extensions on
...
OSX 10.3 when using a binary distribution build on 10.4.
2006-06-27 10:08:25 +00:00
Bob Ippolito
ad647859f4
Fix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc
2006-05-26 14:07:23 +00:00
Tim Peters
211219af4f
Whitespace normalization.
2006-05-23 21:54:23 +00:00
Ronald Oussoren
b02daf794b
Patch #1488098 .
...
This patchs makes it possible to create a universal build on OSX 10.4 and use
the result to build extensions on 10.3. It also makes it possible to override
the '-arch' and '-isysroot' compiler arguments for specific extensions.
2006-05-23 12:01:11 +00:00
Ronald Oussoren
58f8eba372
Disable linking extensions with -lpython2.5 for darwin. This should fix bug
...
#1487105 .
2006-05-23 11:47:16 +00:00
Martin v. Löwis
a07fbce451
Rename parameters to match the documentation (which
...
in turn matches Microsoft's documentation).
Drop unused parameter in CAB.append.
2006-05-01 16:14:16 +00:00
Georg Brandl
bffb0bc064
In stdlib, use hashlib instead of deprecated md5 and sha modules.
2006-04-30 08:57:35 +00:00
Ronald Oussoren
988117fd63
Patch 1471883: --enable-universalsdk on Mac OS X
2006-04-29 11:31:35 +00:00
Georg Brandl
0f45a078a3
Bug #1478326 : don't allow '/' in distutils.util.get_platform machine names
...
since this value is used to name the build directory.
2006-04-28 16:58:52 +00:00
Trent Mick
e96b229d2a
Put break at correct level so *all* root HKEYs acutally get checked for
...
an installed VC6. Otherwise only the first such tree gets checked and this
warning doesn't get displayed.
2006-04-25 00:34:50 +00:00
Ronald Oussoren
59075eb264
disutils checks if MACOSX_DEPLOYMENT_TARGET is consistent with the value at
...
configure time. The current check is too strict and doesn't allow building
extensions that can only run on newer versions of the OS than the version
python was build for, that is python build for 10.3 or later and an extension
for 10.4. This patch relaxes this check.
This turned out to be a reimplementation of patch 1193190.
2006-04-17 14:43:30 +00:00
Armin Rigo
dfde91a79e
Fix for a bug exposed by r45232:
...
/path/to/uninstalled/python setup.py build_ext
now failed with pyconfig.h not found. Prior to r45232
the above command did not look for pyconfig.h, but the
bug is really in the look-up code: expecting to find it
in os.curdir is a rather fragile idea.
2006-04-17 09:22:35 +00:00
Martin v. Löwis
10acfd00b2
Patch #1429775 : Link Python modules to libpython on linux if
...
--enable-shared. Fixes #832799 .
2006-04-10 12:39:36 +00:00
Georg Brandl
1c5a59f80a
Bug #1458017 : make distutils.Log._log more forgiving when passing in
...
msg strings with '%', but without format args.
2006-04-01 07:46:54 +00:00
Anthony Baxter
4ef3a23a35
whitespace normalisation
2006-03-30 12:59:11 +00:00
Phillip J. Eby
2e550b3dd2
Implementation for patch request #1457316 : support --identity option
...
for setup.py "upload" command.
2006-03-30 02:12:14 +00:00
Phillip J. Eby
02e19975d4
Patch #1459476 : install PKG-INFO metadata alongside distutils-installed packages.
2006-03-27 21:55:21 +00:00
Guido van Rossum
f8480a7856
Instead of relative imports, use (implicitly) absolute ones.
2006-03-15 23:08:13 +00:00
Guido van Rossum
87de069e4e
Use relative imports in a few places where I noticed the need.
...
(Ideally, all packages in Python 2.5 will use the relative import
syntax for all their relative import needs.)
2006-03-15 04:33:54 +00:00
Tim Peters
e8d09e5818
Whitespace normalization.
2006-03-09 01:15:05 +00:00
Martin v. Löwis
fbab90e95b
Import bdist_msi
2006-03-05 13:36:04 +00:00
Tim Peters
32cbc96150
Whitespace normalization.
2006-02-20 21:42:18 +00:00
Martin v. Löwis
de2cde614c
Detect Win64 builds.
2006-02-20 12:26:58 +00:00
Martin v. Löwis
e46af8c367
Let the SDK setup override distutils logic.
2006-02-20 12:15:15 +00:00
Martin v. Löwis
6d0c85a71c
Patch #1299675 : Pass metadata in upload.
2006-01-08 10:48:54 +00:00
Tim Peters
9e34c04732
Whitespace normalization (via reindent.py).
2005-08-26 15:20:46 +00:00
Martin v. Löwis
0a5d4a20e7
Patch #1167716 : Support Unicode filenames in mkpath. Fixes #1121494 .
...
Will backport to 2.4.
2005-08-24 14:55:22 +00:00
Martin v. Löwis
b813c53cd8
Patch #827386 : Support absolute source paths in msvccompiler.py.
...
Backported to 2.4.
2005-08-07 20:51:04 +00:00
Phillip J. Eby
5cb784629f
Fix "upload" command garbling and truncating files on Windows. If it's a
...
binary file, use 'rb'!
2005-07-07 15:36:20 +00:00
Tim Peters
fffc4b7b3a
Whitespace normalization.
2005-05-18 02:18:09 +00:00
Martin v. Löwis
d7c795e729
Make parse_makefile fallback to environment variables if nothing is
...
defined in the makefile. Get CFLAGS from the Makefile, instead of
getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
2005-04-25 07:14:03 +00:00
Brett Cannon
08cd598c21
Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. Meant
...
to be used for flags that change binary compatibility.
Distutils was tweaked to also use the variable if used during compilation of
the interpreter.
2005-04-24 22:26:38 +00:00
Anthony Baxter
fa7e6b46ef
typo fix, thanks Jeremy Sanders
2005-04-15 06:17:20 +00:00
Walter Dörwald
a6e8a4ad12
Since PyPI only accepts UTF-8 encoded data now, make sure that the data is
...
properly encoded and include the encoding in the Content-Type header.
2005-03-31 13:57:38 +00:00
Tim Peters
eba28bea9b
Whitespace normalization.
2005-03-28 01:08:02 +00:00
Tim Peters
700f36c752
Two lines in this file had unbalanced parentheses -- couldn't possibly
...
work (SyntaxErrors at compile time).
I slammed in what looked like the obvious fixes, but someone who
understands this file should check my work.
2005-03-28 01:05:48 +00:00
Martin v. Löwis
ca5d8fea3d
Add missing socket import
2005-03-24 19:40:57 +00:00
Fred Drake
c6699b7dc4
minor cleanup
2005-03-24 07:00:05 +00:00
Martin v. Löwis
8efd90485c
Make SRPMs pyversion 'any'.
2005-03-23 22:16:22 +00:00
Martin v. Löwis
98da562600
Make dist_files a triple, with the Python target version included,
...
so that bdist_wininst can specify 'any'.
2005-03-23 18:54:36 +00:00
Martin v. Löwis
8d12158991
Make the signature detached.
2005-03-22 23:02:54 +00:00
Martin v. Löwis
24ff83d5f3
Fix registration of output file.
2005-03-22 22:23:29 +00:00
Martin v. Löwis
be435bf3c8
Don't set the Python version for sdist uploads.
2005-03-22 20:32:41 +00:00
Martin v. Löwis
f74b923ae5
Upload GPG signature.
2005-03-22 15:51:14 +00:00
Fred Drake
abc1566eab
fix Python style guide conformance
2005-03-22 05:43:18 +00:00
Martin v. Löwis
98858c9efd
Actually add the implementation of the command.
2005-03-21 21:00:59 +00:00
Martin v. Löwis
55f1bb8bfa
Add the upload command. Make all dist commands register their
...
outputs with the distribution object.
2005-03-21 20:56:35 +00:00
Fred Drake
227e8ffa20
- rename check_provision() to split_revision()
...
- fix indentation to conform to the Python style guide
- add more tests and documentation
2005-03-21 06:36:32 +00:00
Fred Drake
db7b0027dc
PEP 314 implementation (client side):
...
added support for the provides, requires, and obsoletes metadata fields
2005-03-20 22:19:47 +00:00
Fred Drake
54398d6afb
helper code, mostly from Andy Harrington, for PEP 314 completion
2005-03-20 22:17:02 +00:00
Tim Peters
a733bd96f1
Port bugfix from 2.4 maint.
...
Bug #1160802 : Can't build Zope on Windows w/ 2.4.1c1.
MSVCCompiler.initialize(): set self.initialized to True, as suggested
by AMK. Else we keep growing the PATH endlessly, with each new C
extension built, until putenv() complains.
No change to NEWS because the patch that created this bug is also new
for 2.5a1 (so there's no change here to any code yet released from HEAD).
2005-03-12 19:05:58 +00:00
Brett Cannon
1bfd85b612
Remove some more tab usage to prevent an error when run as ``python -tt``.
2005-03-05 05:32:14 +00:00
Brett Cannon
3304a14148
Remove a tab so that whitespace usage is consistent.
2005-03-05 05:28:45 +00:00
Martin v. Löwis
c72dd38f30
Patch #1075887 : Don't require MSVC in distutils if there is nothing
...
to build. Will backport to 2.4
2005-03-04 13:50:17 +00:00
Martin v. Löwis
df37c8c1ad
Patch #1046831 : Use get_python_version where appropriate in sysconfig.py.
2005-03-03 11:08:03 +00:00
Martin v. Löwis
8ed338ab44
Patch #1104111 : Alter setup.py --help and --help-commands.
2005-03-03 08:12:27 +00:00
Thomas Heller
07561b3b8e
Recompiled after source changes.
2005-02-03 20:48:26 +00:00
Thomas Heller
1d1eac3ce8
Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options.
...
Will backport myself.
2005-01-20 19:14:17 +00:00
Jack Jansen
be95462c1c
After discussion on the PythonMac-SIG it was decided that it is better
...
to make using "-undefined dynamic_lookup" for linking extensions more
automatic on 10.3 and later. So if we're on that platform and
MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX
version during configure. Additionally, distutils will pick up the
configure-time value by default.
Will backport.
2004-12-26 23:07:48 +00:00
Thomas Heller
ee4bb6612a
Recompiled after source changes.
2004-12-22 17:24:36 +00:00
Marc-André Lemburg
58d89dba7d
Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).
2004-12-02 20:14:16 +00:00
Thomas Heller
0e920a7244
Recompiled binaries after source changes.
2004-12-01 19:43:34 +00:00
Tim Peters
26be2067e8
Whitespace normalization.
2004-11-28 01:10:01 +00:00
Fredrik Lundh
cb328f393e
SF patch #1071739 (by Christos Georgiou)
...
This patch offers a better explanation in case the MS VC++ (free)
toolkit is installed but the .NET Framework SDK is not.
2004-11-24 22:31:11 +00:00
Martin v. Löwis
5a6601cfc6
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
2004-11-10 22:23:15 +00:00
Thomas Heller
41f7038a3e
Avoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug
...
info will always be in a .pdb file.
2004-11-10 09:01:41 +00:00
Mark Hammond
79d9bfa28f
Fix [1055540 ] bdist_wininst broken for pure Python distributions
2004-10-27 21:54:33 +00:00
Anthony Baxter
a024034b94
Patch 1046644 - improved distutils support for SWIG.
2004-10-14 10:02:08 +00:00
Anthony Baxter
22dcf66f84
Patch 983206: distutils obeys LDSHARED env var. Removed the code in
...
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)
2004-10-13 15:54:17 +00:00
Anthony Baxter
73cc8479f0
oops. how did _that_ happen?
2004-10-13 13:22:34 +00:00
Anthony Baxter
f2113f0c6e
Backing out the basic dependency checking (from pycon sprint).
...
This support was only a first cut, and doesn't deserve to be in
a released version (where we have to support it in an ongoing
manner)
2004-10-13 12:35:28 +00:00
Sean Reifschneider
6011a3c874
SF Patch 1022011: Add a command-line argument --no-autoreq, which sets the
...
"AutoReq: 0" to disable automatic dependency searching.
2004-09-17 08:34:12 +00:00
Sean Reifschneider
57a6a41e54
SF Patch 1022003: Change bdist_rpm _topdir to use
...
os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base
2004-09-17 08:23:22 +00:00
Tim Peters
0e9980f75a
Whitespace normalization.
2004-09-12 03:49:31 +00:00
Martin v. Löwis
23c48a12d9
Patch #808120 : Add --force-arch=ARCH to bdist_rpm.py.
2004-09-10 06:32:54 +00:00
Martin v. Löwis
641d64812c
Patch #808115 : Add script support to bdist_rpm.py.
2004-09-10 06:25:01 +00:00
Martin v. Löwis
061f132898
Patch #973204 : Use -rpath instead of -R on Irix and Tru64.
2004-08-29 16:40:55 +00:00
Martin v. Löwis
4085f030bd
Add missing executable option to DummyCommand.
2004-08-26 05:44:02 +00:00
Martin v. Löwis
cae9e673d6
Patch #970015 : Replace - by _ in version and release.
2004-08-25 13:04:53 +00:00
Martin v. Löwis
cf525241bb
Patch #970019 : Include version and release in the BuildRoot.
2004-08-25 13:00:34 +00:00
Martin v. Löwis
9f5c0c41ce
Patch #736857 , #736859 : Add -e option to build_scripts.
2004-08-25 11:37:43 +00:00
Thomas Heller
30d0008577
The get_installer_filename() method forgot to return the name it
...
calculates. Spotted by Cort Danger Stratton.
2004-08-17 10:15:07 +00:00
Tim Peters
6db15d7307
Whitespace normalization.
2004-08-04 02:36:18 +00:00
Fred Drake
edcac8f416
make sure distutils logging is shut off in tests to avoid spurious output
2004-08-03 18:53:07 +00:00
Fred Drake
d04573fef0
This allows additional commands to be provided for existing setup.py
...
scripts without modifying either the distutils installation or the
setup.py scripts of packages with which the new commands will be used.
Specifically, an option is added to distutils that allows additional
packages to be searched for command implementations in addition to
distutils.command. The additional packages can be specified on the
command line or via the installation or personal configuration files
already loaded by distutils.
For discussion, see the thread starting with:
http://mail.python.org/pipermail/distutils-sig/2004-August/004112.html
This closes SF patch #102241 .
2004-08-03 16:37:40 +00:00
Martin v. Löwis
7db57b3b41
Patch #870382 : Automatically add msvcr71 to the list of libraries if
...
Python was built with VC 7.1.
2004-08-03 12:41:42 +00:00
Fred Drake
576298d3b2
- fix description of option table entries
...
- fix broken assert statement; should just raise
2004-08-02 17:58:51 +00:00
Fred Drake
25d88926b9
Since build_py handles package data installation, the list of outputs
...
can contain more than just .py files. Make sure we only report
bytecode files for the .py files.
2004-07-28 14:55:10 +00:00
Thomas Heller
612eb09aae
Factored out a method to determine the final installer filename.
2004-07-23 19:58:28 +00:00
Thomas Heller
6fa2474b20
Make the distutils version number the same as the python version. It
...
must be literally contained here, because it is still possible to
install this distutils in older Python versions.
2004-07-23 19:47:32 +00:00
Thomas Heller
ee6fd06ecf
bdist_wininst does now properly handle unicode strings or byte strings
...
with umlauts in the author argument and others.
Fixes sf # 993943.
2004-07-23 19:44:29 +00:00
Fred Drake
b3d55d31d9
elaborate package data test to make sure get_outputs() gives the right
...
results when byte-code compilation is requested (in particular, make
sure that package data doesn't get a bogus byte-code listing
generated)
2004-07-21 18:53:06 +00:00
Thomas Heller
36a0f89c37
The binary layout of cfgdata has changed, so the magic number has to
...
change as well.
Recompiled binaries after this change.
2004-07-19 10:07:28 +00:00
Thomas Heller
b8f134e3c3
The binary layout of cfgdata has changed, so the magic number has to
...
change as well. Add a comment explaining this.
2004-07-19 09:45:46 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Thomas Heller
040d6d02b7
The new distutils features justify a new version number, imo.
...
If someone has other ideas for the numbering scheme, please change to
something else (1.1.0 ?).
2004-07-16 18:14:37 +00:00
Thomas Heller
b60b242d29
Recompiled after source file changes.
2004-07-14 15:22:05 +00:00
Thomas Heller
a146feaa10
Fix SF#983164.
...
Patch from Mark Hammond:
bdist_wininst attempts to use the correct MSVC runtime for the current
version of Python. This doesn't work correctly when --target-version
is set. In that case, bdist_wininst still uses the *current*
sys.version (ie, 2.4) rather than the version specified as
--target-version. Thus, the msvc7 runtime based executable stub is
*always* used.
This patch "hard-codes" knowledge of earlier Python versions,
providing the correct result when Python 2.4 is used to build Python
2.3 and earlier distributions.
Remove the short variant (-v) of the --target-version command line
options, it conflicts with the --verbose/-v standard distutils switch.
2004-07-06 19:23:27 +00:00
Thomas Heller
32b8f8052a
Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy.
...
Patch from Mark Hammond.
Recompiled binary.
Already packported to the 2.3 branch.
2004-07-02 08:02:40 +00:00
Fred Drake
ec6229e352
Make distutils "install --home" support all platforms.
2004-06-25 23:02:59 +00:00
Fred Drake
22021579a9
add boilerplate so the test modules can be run as scripts
2004-06-25 19:04:21 +00:00
Fred Drake
2c9f889122
add a couple of tests for the build_scripts command
2004-06-21 16:15:22 +00:00
Fred Drake
2b2fe94cde
fix typo
2004-06-18 21:28:28 +00:00
Sjoerd Mullender
4dbda47aea
If self.packages is None (this can happen, I saw it), return
...
immediately (since None is not a sequence you can iterate over).
2004-06-18 20:39:11 +00:00
Thomas Heller
89a2dc72b1
Rebuild the wininst.exe files.
2004-06-18 18:30:27 +00:00
Fred Drake
b849eddde6
fix bug: list of data files was initialized too soon in build_py
2004-06-17 20:16:19 +00:00
Fred Drake
b8ab8b6da8
move support code to a helper module to ease re-use
2004-06-17 20:14:50 +00:00
Fred Drake
d0620dcf00
add a test that actually installs some scripts
2004-06-15 16:55:46 +00:00
Fred Drake
bb7c14461d
One unit test for distutils is not much, but is more than we had yesterday.
...
We need to write more; hopefully the barrier is a little lower now.
2004-06-15 15:49:46 +00:00
Fred Drake
0eb32a65b0
Add support for package data.
...
This is basically the support for package data from Phillip Eby's
setuptools package. I've changed it only to fit it into the core
implementation rather than to live in subclasses, and added
documentation.
2004-06-11 21:50:33 +00:00
Anthony Baxter
c982bbde1c
Bug 957381: rpmbuild builds a -debuginfo rpm on recent Redhat and Fedora releases.
...
Ignore it, rather than breaking.
Will backport.
(and r1.1000 for Misc/NEWS!)
2004-06-11 17:16:46 +00:00
Hye-Shik Chang
2400e93057
SF #877165 : Give an info about what C++ compiler command should be
...
used in cygwin and mingw32. (Reported by Michael Droettboom)
2004-06-05 18:37:53 +00:00
Jack Jansen
6b08a40442
Partial fix for #887242 (link extensions with dynamic_lookup in stead
...
of hard linking against the framework).
If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile.
Distutils checks whether a value for MACOSX_DEPLOYMENT_TARGET was
recorded in the Makefile, and if it was insists that the current
value matches.
This is only a partial fix because it only applies to 2.4, and the
"two python problem" exists with Python 2.3 shipped with MacOSX 10.3,
which we have no influence over.
2004-06-03 12:41:45 +00:00
Tim Peters
2f50e90818
SF patch 959726: sdist versus SVN
...
The disutils sdist command now ignores .svn directories.
2004-05-31 19:27:59 +00:00
Walter Dörwald
cbd0b365c1
Fix typo (from SF bug #962602 )
2004-05-31 15:12:27 +00:00