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é
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é
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é
2432b0b367
Fixed #4524 : distutils build_script command failed with --with-suffix=3
2009-02-13 23:00:43 +00:00
Tarek Ziadé
0d4fd3493e
Fixed #5132 : enable extensions to link on Solaris
2009-02-05 22:52:52 +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é
1a240fb9f0
fixed #4394 make the storage of the password optional in .pypirc
2009-01-08 23:56:31 +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é
e4c75bb585
fixed #4400 : distutils .pypirc default generated file was broken.
2008-12-24 19:10:05 +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
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
Georg Brandl
392c6fc02d
ConfigParser renaming reversal part 3: move module into place and adapt imports.
2008-05-25 07:25:25 +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
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
aac5c8669f
#1858 : re-apply patch for this, adding the missing files
2008-05-11 14:00:00 +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
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
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
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
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
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
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
Anthony Baxter
a024034b94
Patch 1046644 - improved distutils support for SWIG.
2004-10-14 10:02:08 +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
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