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
Tim Peters
c312b07d77
Reverting local change checked in by mistake.
2004-05-11 18:18:35 +00:00
Tim Peters
926bc22c65
Added 2.3.3 and 2.3.4 to the release table. Added 2004 to the list of
...
copyright years.
2004-05-11 18:13:10 +00:00
Fred Drake
4b49823edd
make sure the default manifest generation includes files identified as
...
scripts
closes SF bug 796042
2004-03-25 22:04:52 +00:00
Martin v. Löwis
1c0f1f97fb
Defer compilation of regular expressions until first use.
2004-03-25 14:58:19 +00:00
Anthony Baxter
05f842bae2
Basic dependency checking. setup() has two new optional arguments
...
requires and provides. requires is a sequence of strings, of the
form 'packagename-version'. The dependency checking so far merely
does an '__import__(packagename)' and checks for packagename.__version__
You can also leave off the version, and any version of the package
will be installed.
There's a special case for the package 'python' - sys.version_info
is used, so
requires= ( 'python-2.3', )
just works.
Provides is of the same format as requires - but if it's not supplied,
a provides is generated by adding the version to each entry in packages,
or modules if packages isn't there.
Provides is currently only used in the PKG-INFO file. Shortly, PyPI
will grow the ability to accept these lines, and register will be
updated to send them.
There's a new command 'checkdep' command that runs these checks.
For this version, only greater-than-or-equal checking is done. We'll
add the ability to specify an optional operator later.
2004-03-22 22:22:05 +00:00
Hye-Shik Chang
904de5b734
Make _spawn_posix be ready for EINTR. waitpid(2) can be interrupted
...
by SIGCHLD or sth because no signal is masked before. This fixes
an optimized installation problem on FreeBSD libpthread.
2004-02-24 23:54:17 +00:00
Thomas Heller
0bc9c919e8
Use the right wininstXX.exe, depending on
...
msvccompiler.get_build_version().
Distributions without a pre-install-script didn't work any longer, we
must at least provide the terminating NUL character.
2004-02-20 19:38:50 +00:00
Thomas Heller
612371dcb3
wininst-6.exe and wininst-7.1.exe are in CVS, so that they can be
...
included in Python distributions for systems other than Windows.
Windows installers can be build on non-Windows systems as long as they
only include pure python module distributions.
2004-02-20 18:33:38 +00:00
Thomas Heller
90b0f1c602
wininst.exe is no longer used - we now need wininst-6.exe or wininst-7.1.exe.
2004-02-20 18:26:55 +00:00
Thomas Heller
4ae4f83954
Recompiled the binary wininst.exe.
...
Patch #892660 from Mark Hammond, for distutils bdist_wininst command.
install.c: support for a 'pre-install-script', run before anything has
been installed. Provides a 'message_box' module function for use by
either the pre-install or post-install scripts.
bdist_wininst.py: support for pre-install script. Typo (build->built),
fixes so that --target-version can still work, even when the
distribution has extension modules - in this case, we insist on
--skip-build, as we still can't actually build other versions.
2004-02-20 14:44:32 +00:00
Thomas Heller
a19cdad6dc
Patch #892660 from Mark Hammond, for distutils bdist_wininst command.
...
install.c: support for a 'pre-install-script', run before anything has
been installed. Provides a 'message_box' module function for use by
either the pre-install or post-install scripts.
bdist_wininst.py: support for pre-install script. Typo (build->built),
fixes so that --target-version can still work, even when the
distribution has extension modules - in this case, we insist on
--skip-build, as we still can't actually build other versions.
2004-02-20 14:43:21 +00:00
Fred Drake
f06116dcab
commentary about how bad ConfigParser is doesn't help here, and the
...
suggested approach to dealing with it isn't a good one; we need a
better general purpose config reader, not a distutils-specific reader
2004-02-17 22:35:19 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Tim Peters
8279170ed2
Revert another local change that snuck into a whitespace normalization
...
patch.
2004-01-18 20:39:35 +00:00
Tim Peters
58eb11cf62
Whitespace normalization.
2004-01-18 20:29:55 +00:00
Thomas Heller
9436a75e4d
Compile the files in the same order they are passed to the compiler.
...
Use case: Sometimes 'compiling' source files (with SWIG, for example)
creates additionl files which included by later sources. The win32all
setup script requires this.
There is no SF item for this, but it was discussed on distutils-sig:
http://mail.python.org/pipermail/distutils-sig/2003-November/003514.html
2003-12-05 20:12:23 +00:00
Andrew MacIntyre
63ee110cf7
use same compiler switches as core for extensions
2003-12-02 12:17:59 +00:00
Thomas Heller
b310591169
See SF #848614 : distutils' msvccompiler now tries to detect that MSVC6
...
is installed but the registry settings are incomplete because the gui
has never been run.
Already backported to release23-maint.
2003-11-28 19:42:56 +00:00
Martin v. Löwis
23b44a39ce
Patch #812378 : Normalize white space.
2003-10-24 20:09:23 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Jeremy Hylton
e9a92aa03a
Patch from John Anderson to enable VC 7.1 support.
...
I tested against VC 7.0 and it caused no problems there.
2003-07-17 14:41:07 +00:00
Gustavo Niemeyer
6cf26195c6
Do not add extra "\n" after bang line.
2003-06-27 19:33:38 +00:00
Thomas Heller
cd494adc3b
Fix for sf # 749210, wininst isn't build correctly after building zip.
...
The problem was that subcommands were not reinitialized.
Bugfix candidate, will backport myself.
2003-06-12 17:23:58 +00:00
Jack Jansen
19c0d943e9
Fixed indentation error. Closes bug #746953 .
2003-06-01 19:27:40 +00:00