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