summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* Make docstrings raw, since they contain literal backslashes.Ka-Ping Yee2001-03-101-1/+1
|
* When not copying a file because the output is up to date, make the messageFred Drake2001-03-021-2/+2
| | | | | slightly more brief, and more like the message that an extension will not be built because the built copy is up to date.
* Leave #! lines featuring /usr/bin/env aloneAndrew M. Kuchling2001-02-281-2/+4
|
* Placate tabnannyAndrew M. Kuchling2001-02-281-1/+1
|
* Bug #229280: remove '/' characters from the OS name (for BSD/OS :) )Andrew M. Kuchling2001-02-271-1/+6
|
* Patch #403947: On Cygwin, use the Unix compiler class, and notAndrew M. Kuchling2001-02-271-1/+4
| | | | | | | | | | the Cygwin-specific compiler class. (According to Jason Tishler, cygwinccompiler needs some work to handle the differences in Cygwin- and MSVC-Python. Makefile and config files are currently ignored by cygwinccompiler, as it was written to support cygwin for extensions which are intended to be used with the standard MSVC built Python.)
* Patch #404275: generate a reasonable platform string for AIXAndrew M. Kuchling2001-02-271-0/+2
|
* Enhancements to the bdist_wininst command:Thomas Heller2001-02-191-265/+282
| | | | | | | | | | | | | | | | | --bitmap command line option allows to use a different bitmap file instead of the build-in python powered logo. --title lets you specify the text to display on the background. The editbox in the first screen now longer is selected (highlighted), it had the WS_TABSTOP flag. This is the patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103687&group_id=5470 with two changes: 1. No messagebox displayed when the compilation to .pyc or .pyo files failes, this will only confuse the user (and it will fail under certain cases, where sys.path contains garbage). 2. A debugging print statement was removed from bdist_wininst.py.
* This patch makes the default compiler determination more flexibleMarc-André Lemburg2001-02-191-8/+40
| | | | | | | | | | | | and also takes the sys.platform name into account. This helps on platforms where there are multiple possible compiler backends (the one with which Python itself was compiled is preferred over others in this case). The patch uses this new technique to enable using cygwin compiler per default for cygwin compiled Pythons. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Split the rpath argument into multiple paths, turning it into a list.Andrew M. Kuchling2001-02-171-0/+3
| | | | This partially fixes bug #128930.
* Linking just got simpiler on AIX and BeOS (closes SF patch #103679).Neil Schemenauer2001-02-161-25/+2
|
* String method conversion.Eric S. Raymond2001-02-093-10/+10
|
* String method conversion.Eric S. Raymond2001-02-091-3/+3
|
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* Patch #103587: Fix typo that broke the install_data command; caught byAndrew M. Kuchling2001-02-051-1/+1
| | | | Uche Ogbuji
* move "from stat import *" to module levelJeremy Hylton2001-01-311-1/+1
|
* Remove single "." components from pathnames, and return os.curdir ifJack Jansen2001-01-281-0/+4
| | | | the resulting path is empty.
* Data pathnames were not converted from URL-style to local style. Fixed.Jack Jansen2001-01-281-2/+4
|
* Added an execution layer to be able to customize per-extensionMarc-André Lemburg2001-01-261-91/+92
| | | | building.
* In subst_vars(), change the name of the argument from str to s toJeremy Hylton2001-01-251-2/+2
| | | | | | | | | prevent binding for str from masking use of builtin str in nested function. (This is the only case I found in the standard library where a local shadows a global or builtin. There may be others, but the regression test doesn't catch them.)
* There is no more Modules/Makefile, use toplevel Makefile.Neil Schemenauer2001-01-241-1/+1
|
* Part of patch #102409: special cases for Cygwin:Andrew M. Kuchling2001-01-241-0/+18
| | | | | | | | | Lib/distutils/command/build_ext.py(build_ext.finalize_options): Add Cygwin specific code to append Python's library directory to the extension's list of library directories. (build_ext.get_libraries): Add Cygwin specific code to append Python's (import) library to the extension's list of libraries.
* Patch #103220 from Jason Tishler:Andrew M. Kuchling2001-01-191-0/+5
| | | | | | This patch adds support for Cygwin to util.get_platform(). A Cygwin specific case is needed due to the format of Cygwin's uname command, which contains '/' characters.
* Patch #103279: sysconfig.py always looks for versions of files inAndrew M. Kuchling2001-01-171-1/+19
| | | | | | | | sys.prefix + 'config/Makefile'. When building Python for the first time, these files aren't there, so the files from the build tree have to be used instead; this file adds an entry point for specifying that the build tree files should be used. (Perhaps 'set_python_build' should should be preceded with an underscore?)
* Fix bugs with integer-valued variables when parsing Makefiles. ValuesAndrew M. Kuchling2001-01-161-5/+9
| | | | | | | | | | for done[n] can be integers as well as strings, but the code concatenates them with strings (fixed by adding a str()) and calls string.strip() on them (fixed by rearranging the logic) (Presumably this wasn't noticed previously because parse_makefile() was only called on Modules/Makefile, which contains no integer-valued variables.)
* Modified version of a patch from Jeremy Kloth, to make .get_outputs()Andrew M. Kuchling2001-01-161-1/+5
| | | | | | | produce a list of unique filenames: "While attempting to build an RPM using distutils on Python 2.0, rpm complained about duplicate files. The following patch fixed that problem.
* Add strip_dir argument to the single call to .object_filenames(), toAndrew M. Kuchling2001-01-161-0/+1
| | | | | prevent creating files such as build/lib.whatever/Modules/foo.o when given a source filename such as Modules/foo.c.
* Fix from Jack Jansen for the Mac and the Metrowerks compiler, postedAndrew M. Kuchling2001-01-153-6/+216
| | | | | to the Distutils-SIG and archived at http://mail.python.org/pipermail/distutils-sig/2000-November/001755.html
* Delete unused import of pprint moduleAndrew M. Kuchling2001-01-111-1/+0
|
* Check in patch #102971: if library_dirs is a string, split it usingAndrew M. Kuchling2001-01-091-0/+2
| | | | os.pathsep
* Add forgotten initialization. Fixes bug #120994, "Traceback withAndrew M. Kuchling2000-12-201-0/+1
| | | | DISTUTILS_DEBUG set"
* Update the code to better reflect recommended style:Fred Drake2000-12-121-1/+1
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Jack Jansen: added 'get_command_list()' method, and Mac-specific code toGreg Ward2000-11-111-0/+38
| | | | | use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
* Bump version to 1.0.1.Greg Ward2000-10-151-1/+1
|
* Removed debugging code at bottom.Greg Ward2000-10-141-8/+0
|
* Untabified.Greg Ward2000-10-148-14/+14
|
* Bastian Kleineidam: make 'check_lib()' more like AC_CHECK_LIB by addingGreg Ward2000-10-141-3/+6
| | | | an 'other_libraries()' parameter.
* Lyle Johnson: use 'normcase()' in addition to 'normpath()' when testing ifGreg Ward2000-10-141-2/+4
| | | | we actually installed modules to a directory in sys.path.
* Bastian Kleineidam: fix up any supplied command-line options.Greg Ward2000-10-141-1/+16
|
* Recreated after installer source code changes.Thomas Heller2000-10-121-246/+246
| | | | | This should close SF bug (patch) http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
* Bump version to 1.0.Greg Ward2000-10-031-1/+1
|
* Remove some debugging prints.Greg Ward2000-10-031-2/+0
|
* Fixed so --no-compile is a negative alias for --compile.Greg Ward2000-10-031-0/+1
|
* Added a long-winded comment (and commented-out comment to go with out)Greg Ward2000-10-031-1/+17
| | | | | | | | | | about how it would be nice to write absolute paths to the temporary byte-compilation script, but this doesn't work because it screws up the trailing-slash trickery done to 'prefix' in build_py's 'byte_compile()' method. Fixed to use 'execute()' instead of 'os.remove()' to remove the temporary script: now it doesn't blow up in dry-run mode!
* Typo fix.Greg Ward2000-10-021-1/+1
|
* Added the ability to do byte-compilation at build time, currently offGreg Ward2000-10-021-5/+51
| | | | | | | | | by default (since compiling at install time works just fine). Details: - added 'compile' and 'optimize' options - added 'byte_compile()' method - changed 'get_outputs()' so it includes bytecode files A lot of the code added is very similar to code in install_lib.py; would be nice to factor it out further.
* Added --compile, --optimize options so users have an easy way toGreg Ward2000-10-021-0/+12
| | | | instruct the "install_lib" command from the command-line.
* Finished the overhaul of byte-compilation options: there's now a 6-wayGreg Ward2000-10-021-15/+66
| | | | | | | | | | | | choice between (compile, no-compile) * (optimize=0, optimize=1, optimize=2). Details: - added --no-compile option to complement --compile, which has been there for ages - changed --optimize (which never worked) to a value option, which expects 0, 1, or 2 - renamed 'bytecompile()' method to 'byte_compile()', and beefed it up to handle both 'compile' and 'optimize' options - fix '_bytecode_filenames()' to respect the new options
* Remove the temporary byte-compilation script when we're done with it.Greg Ward2000-10-021-0/+1
|
* From 'run()', only call 'bytecompile()' if we actually haveGreg Ward2000-10-011-1/+1
| | | | pure Python modules to compile.