summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* use same compiler switches as core for extensionsAndrew MacIntyre2003-12-021-2/+2
|
* See SF #848614: distutils' msvccompiler now tries to detect that MSVC6Thomas Heller2003-11-281-0/+10
| | | | | | | is installed but the registry settings are incomplete because the gui has never been run. Already backported to release23-maint.
* Patch #812378: Normalize white space.Martin v. Löwis2003-10-241-3/+3
|
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Patch from John Anderson to enable VC 7.1 support.Jeremy Hylton2003-07-171-12/+27
| | | | I tested against VC 7.0 and it caused no problems there.
* Do not add extra "\n" after bang line.Gustavo Niemeyer2003-06-271-2/+2
|
* Fix for sf # 749210, wininst isn't build correctly after building zip.Thomas Heller2003-06-121-1/+1
| | | | | | The problem was that subcommands were not reinitialized. Bugfix candidate, will backport myself.
* Fixed indentation error. Closes bug #746953.Jack Jansen2003-06-011-2/+2
|
* Patch #740301: Add +s when linking shared libraries on HP-UX, use -LMartin v. Löwis2003-05-311-2/+4
| | | | for the library path.
* Restore Python 1.5.2 compatibility.Marc-André Lemburg2003-05-141-1/+1
|
* Replace line somehow deleted before last checkin.Jeremy Hylton2003-05-091-0/+1
|
* Variant of SF patch 614770: MSVC 7 supportJeremy Hylton2003-05-091-143/+189
| | | | | | | | distutils now looks for the compiler version in sys.version, falling back to MSVC 6 if the version isn't listed (Python 2.2 and lower). Add helper routines for reading the registry. Refactor many module functions into methods of the compiler to avoid passing lots of state as arguments.
* new method: has_function() - returns a boolean indicating whether theSkip Montanaro2003-04-241-0/+45
| | | | argument function is available on the current platform
* Patch #718049: Setting exe_extension for cygwinJason Tishler2003-04-181-0/+2
| | | | | | | | | | | | | | | | | | | On cygwin, the setup.py script uses unixccompiler.py for compiling and linking C extensions. The unixccompiler.py script assumes that executables do not get special extensions, which makes sense for Unix. However, on Cygwin, executables get an .exe extension. This causes a problem during the configuration step (python setup.py config), in which some temporary executables may be generated. As unixccompiler.py does not know about the .exe extension, distutils fails to clean up after itself: it does not remove _configtest.exe but tries to remove _configtest instead. The attached patch to unixccompiler.py sets the correct exe_extension for cygwin by checking if sys.platform is 'cygwin'. With this patch, distutils cleans up after itself correctly. Michiel de Hoon University of Tokyo, Human Genome Center.
* Patch #709178: remove -static option from cygwinccompilerJason Tishler2003-04-141-5/+30
| | | | | | | | | | | | | | After some more reflection (and no negative feedback), I am reverting the original patch and applying my version, cygwinccompiler.py-shared.diff, instead. My reasons are the following: 1. support for older toolchains is retained 2. support for new toolchains (i.e., ld -shared) is added The goal of my approach is to avoid breaking older toolchains while adding better support for newer ones.
* Patch #718551: cygwinccompiler.get_versions() patchJason Tishler2003-04-091-3/+3
| | | | | | | | | | The cygwinccompiler.get_versions() function only handles versions numbers of the form "x.y.z". The attached patch enhances get_versions() to handle "x.y" too (i.e., the ".z" is optional). This change causes the unnecessary "--entry _DllMain@12" link option to be suppressed for recent Cygwin and Mingw toolchains. Additionally, it directs recent Mingw toolchains to use gcc instead of dllwrap during linking.
* Patch #709178: remove -static option from cygwinccompilerJason Tishler2003-04-091-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, the cygwinccompiler.py compiler handling in distutils is invoking the cygwin and mingw compilers with the -static option. Logically, this means that the linker should choose to link to static libraries instead of shared/dynamically linked libraries. Current win32 binutils expect import libraries to have a .dll.a suffix and static libraries to have .a suffix. If -static is passed, it will skip the .dll.a libraries. This is pain if one has a tree with both static and dynamic libraries using this naming convention, and wish to use the dynamic libraries. The -static option being passed in distutils is to get around a bug in old versions of binutils where it would get confused when it found the DLLs themselves. The decision to use static or shared libraries is site or package specific, and should be left to the setup script or to command line options.
* Remove the --verify option in favor of the standard -n/--dry-run optionAndrew M. Kuchling2003-04-091-4/+1
|
* [Bug #693470] 'licence' as an alias for 'license' doesn't work.Andrew M. Kuchling2003-03-031-1/+10
| | | | This patch makes it work again.
* [Bug #69389] List register command in __all__, so setup.py --help-commands ↵Andrew M. Kuchling2003-03-031-0/+1
| | | | will now list it
* Improve descriptionAndrew M. Kuchling2003-03-031-1/+1
|
* [Patch #695090 from Bernhard Herzog] Allow specifying both py_modules and ↵Andrew M. Kuchling2003-02-281-20/+6
| | | | packages
* [Bug #668662] Patch from Pearu Pearson: if a C source file isAndrew M. Kuchling2003-02-261-0/+2
| | | | | | | specified with an absolute path, the object file is also written to an absolute path. The patch drops the drive and leading '/' from the source path, so a path like /path/to/foo.c results in an object file like build/temp.i686linux/path/to/foo.o.
* announce(): use the level argument to control the log level.Guido van Rossum2003-02-201-1/+1
|