summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* The get_installer_filename() method forgot to return the name itThomas Heller2004-08-171-0/+1
| | | | calculates. Spotted by Cort Danger Stratton.
* Whitespace normalization.Tim Peters2004-08-041-22/+22
|
* make sure distutils logging is shut off in tests to avoid spurious outputFred Drake2004-08-035-3/+25
|
* This allows additional commands to be provided for existing setup.pyFred Drake2004-08-032-22/+162
| | | | | | | | | | | | | | | | | 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.
* Patch #870382: Automatically add msvcr71 to the list of libraries ifMartin v. Löwis2004-08-031-0/+23
| | | | Python was built with VC 7.1.
* - fix description of option table entriesFred Drake2004-08-021-3/+4
| | | | - fix broken assert statement; should just raise
* Since build_py handles package data installation, the list of outputsFred Drake2004-07-281-0/+11
| | | | | can contain more than just .py files. Make sure we only report bytecode files for the .py files.
* Factored out a method to determine the final installer filename.Thomas Heller2004-07-231-9/+14
|
* Make the distutils version number the same as the python version. ItThomas Heller2004-07-231-1/+1
| | | | | must be literally contained here, because it is still possible to install this distutils in older Python versions.
* bdist_wininst does now properly handle unicode strings or byte stringsThomas Heller2004-07-231-7/+18
| | | | | | with umlauts in the author argument and others. Fixes sf # 993943.
* elaborate package data test to make sure get_outputs() gives the rightFred Drake2004-07-211-1/+7
| | | | | | results when byte-code compilation is requested (in particular, make sure that package data doesn't get a bogus byte-code listing generated)
* The binary layout of cfgdata has changed, so the magic number has toThomas Heller2004-07-192-0/+0
| | | | | change as well. Recompiled binaries after this change.
* The binary layout of cfgdata has changed, so the magic number has toThomas Heller2004-07-191-1/+7
| | | | change as well. Add a comment explaining this.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-1824-37/+32
|
* The new distutils features justify a new version number, imo.Thomas Heller2004-07-161-1/+1
| | | | | If someone has other ideas for the numbering scheme, please change to something else (1.1.0 ?).
* Recompiled after source file changes.Thomas Heller2004-07-142-0/+0
|
* Fix SF#983164.Thomas Heller2004-07-061-2/+26
| | | | | | | | | | | | | | | | | | 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.
* Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy.Thomas Heller2004-07-022-0/+0
| | | | | | | Patch from Mark Hammond. Recompiled binary. Already packported to the 2.3 branch.
* Make distutils "install --home" support all platforms.Fred Drake2004-06-252-17/+72
|
* add boilerplate so the test modules can be run as scriptsFred Drake2004-06-253-1/+9
|
* add a couple of tests for the build_scripts commandFred Drake2004-06-211-0/+74
|
* fix typoFred Drake2004-06-181-1/+1
|
* If self.packages is None (this can happen, I saw it), returnSjoerd Mullender2004-06-181-0/+2
| | | | immediately (since None is not a sequence you can iterate over).
* Rebuild the wininst.exe files.Thomas Heller2004-06-182-0/+0
|
* fix bug: list of data files was initialized too soon in build_pyFred Drake2004-06-172-1/+51
|
* move support code to a helper module to ease re-useFred Drake2004-06-172-34/+48
|
* add a test that actually installs some scriptsFred Drake2004-06-151-0/+56
|
* One unit test for distutils is not much, but is more than we had yesterday.Fred Drake2004-06-152-0/+81
| | | | We need to write more; hopefully the barrier is a little lower now.
* Add support for package data.Fred Drake2004-06-112-0/+52
| | | | | | | 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.
* Bug 957381: rpmbuild builds a -debuginfo rpm on recent Redhat and Fedora ↵Anthony Baxter2004-06-111-1/+6
| | | | | | | | | | releases. Ignore it, rather than breaking. Will backport. (and r1.1000 for Misc/NEWS!)
* SF #877165: Give an info about what C++ compiler command should beHye-Shik Chang2004-06-051-0/+2
| | | | used in cygwin and mingw32. (Reported by Michael Droettboom)
* Partial fix for #887242 (link extensions with dynamic_lookup in steadJack Jansen2004-06-031-1/+13
| | | | | | | | | | | | | | | | 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.
* SF patch 959726: sdist versus SVNTim Peters2004-05-311-2/+2
| | | | The disutils sdist command now ignores .svn directories.
* Fix typo (from SF bug #962602)Walter Dörwald2004-05-311-1/+1
|
* Reverting local change checked in by mistake.Tim Peters2004-05-111-4/+3
|
* Added 2.3.3 and 2.3.4 to the release table. Added 2004 to the list ofTim Peters2004-05-111-3/+4
| | | | copyright years.
* make sure the default manifest generation includes files identified asFred Drake2004-03-252-0/+6
| | | | | scripts closes SF bug 796042
* Defer compilation of regular expressions until first use.Martin v. Löwis2004-03-251-3/+7
|
* Basic dependency checking. setup() has two new optional argumentsAnthony Baxter2004-03-225-3/+144
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Make _spawn_posix be ready for EINTR. waitpid(2) can be interruptedHye-Shik Chang2004-02-241-1/+8
| | | | | by SIGCHLD or sth because no signal is masked before. This fixes an optimized installation problem on FreeBSD libpthread.
* Use the right wininstXX.exe, depending onThomas Heller2004-02-201-2/+8
| | | | | | | msvccompiler.get_build_version(). Distributions without a pre-install-script didn't work any longer, we must at least provide the terminating NUL character.
* wininst-6.exe and wininst-7.1.exe are in CVS, so that they can beThomas Heller2004-02-202-0/+0
| | | | | | 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.
* wininst.exe is no longer used - we now need wininst-6.exe or wininst-7.1.exe.Thomas Heller2004-02-201-0/+0
|
* Recompiled the binary wininst.exe.Thomas Heller2004-02-201-0/+0
| | | | | | | | | | | | | 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.
* Patch #892660 from Mark Hammond, for distutils bdist_wininst command.Thomas Heller2004-02-201-3/+29
| | | | | | | | | | | 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.
* commentary about how bad ConfigParser is doesn't help here, and theFred Drake2004-02-171-3/+1
| | | | | suggested approach to dealing with it isn't a good one; we need a better general purpose config reader, not a distutils-specific reader
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-126-15/+15
| | | | From SF patch #852334.
* Revert another local change that snuck into a whitespace normalizationTim Peters2004-01-181-2/+1
| | | | patch.
* Whitespace normalization.Tim Peters2004-01-181-1/+2
|
* Compile the files in the same order they are passed to the compiler.Thomas Heller2003-12-053-3/+15
| | | | | | | | | 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