Commit graph

530 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Martin v. Löwis
6d0c85a71c Patch #1299675: Pass metadata in upload. 2006-01-08 10:48:54 +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
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
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
db7b0027dc PEP 314 implementation (client side):
added support for the provides, requires, and obsoletes metadata fields
2005-03-20 22:19:47 +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
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
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
Mark Hammond
79d9bfa28f Fix [1055540 ] bdist_wininst broken for pure Python distributions 2004-10-27 21:54:33 +00:00