summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Added missing import.Greg Ward2000-05-201-0/+1
|
* Lyle Johnson: added stubs for the four miscellaneous methods that must beGreg Ward2000-05-201-0/+27
| | | | implemented by subclasses, since they are needed by 'gen_lib_options()'.
* Added support for the 'export_symbols' parameter to 'link_shared_object()'Greg Ward2000-05-203-3/+22
| | | | | | and 'link_shared_lib()'. In MSVCCompiler, this is meaningful: it adds /EXPORT: options to the linker command line. In UnixCCompiler, it is ignored.
* Add call to putheader('Host', 'www.python.org') to the example.Guido van Rossum2000-05-191-0/+1
|
* Changed default developer name.Gregory P. Smith2000-05-131-1/+6
| | | | Added some guiding comments.
* Template for writing Distutils command modules.Gregory P. Smith2000-05-131-0/+39
|
* Contribution from Harry Henry Gebel: the 'bdist_rpm' command.Gregory P. Smith2000-05-131-0/+390
| | | | | (Completely uninspected and untested by me, this is just to get the code into CVS!)
* In 'install_misc': 'self.outfiles' defaults to the empty list, so we don'tGregory P. Smith2000-05-131-1/+1
| | | | have to worry about "or []" in 'get_outputs()'.
* List data files are listed in the Distribution attribute 'data_files',Gregory P. Smith2000-05-132-3/+3
| | | | rather than 'data'.
* Added the 'bdist_base' option, the base temp directory for all bdist commands.Gregory P. Smith2000-05-131-2/+13
|
* Added 'get_inputs()' methods, needed by the "install" command'sGregory P. Smith2000-05-132-0/+6
| | | | 'get_inputs()'.
* Drastically simplified by taking advantage of the "install" command'sGregory P. Smith2000-05-131-74/+21
| | | | | | | | | | new flexibility, specifically the 'root' option. Now, we just use "install" to do a fake installation into a temporary directory (the 'bdist_dir' option, which derives from the 'bdist_base' option of "bdist"), and then tar/zip up that directory. This means that dumb built distributions are now relative to the root directory, rather than the prefix or exec-prefix; this is probably a feature, but does make them slightly less flexible.
* Rename 'build_bdist' to 'bdist_base', and get it by default from theGregory P. Smith2000-05-131-6/+7
| | | | "bdist" command rather than "build".
* Typo fix.Gregory P. Smith2000-05-131-1/+1
|
* Made the '--record' option take an argument, which is the name of theGregory P. Smith2000-05-131-4/+5
| | | | file to write the list of installed files to.
* Ditch the explicit search for *.py[co] files -- they're now included inGregory P. Smith2000-05-131-6/+1
| | | | | the list returned by 'get_outputs()', thanks to changes in the "install_lib" command.
* Added '_bytecode_filenames()' method, and use it in 'get_outputs()'Gregory P. Smith2000-05-131-4/+13
| | | | | to ensure that compiled bytecode files are considered part of the output of the "install_lib" command.
* Moved check for installation to non-sys.path location so it comesGregory P. Smith2000-05-131-9/+9
| | | | | last (after writing list of installed files) -- that way, the warning is more visible.
* Harry Henry Gebel: add the "--record" option to write the list ofGregory P. Smith2000-05-131-1/+21
| | | | installed files to INSTALLED_FILES.
* Added the 'build_bdist' option and code to clean it up -- this is theGregory P. Smith2000-05-131-3/+14
| | | | | | top-level temporary directory for creating built distributions. (Won't work yet, since the "build" command doesn't yet have a 'build_bdist' option, and none of the "bdist" commands support it yet.)
* Harry Henry Gebel: get extra compiler flags from the CFLAGS environmentGregory P. Smith2000-05-131-0/+8
| | | | | | | variable. (Is this really needed? Can we drop it when the config file mechanism allows users to set compiler flags in setup.cfg?)
* Harry Henry Gebel: add support for the 'bdist_rpm' command, specificallyGregory P. Smith2000-05-131-2/+7
| | | | the 'no_format_option' class attribute.
* Harry Henry Gebel: add 'bdist_rpm' command.Gregory P. Smith2000-05-131-0/+1
|
* From Lyle Johnson: renamed 'implib_dir' to 'implib_file', andGregory P. Smith2000-05-131-7/+5
| | | | correctly ensure that it's 'dirname' exists.
* Added comment/docstring/revision header.Gregory P. Smith2000-05-122-0/+18
|
* Fixed 'select_scheme()' so it doesn't override a directory attribute that'sGregory P. Smith2000-05-121-1/+3
| | | | already been set (eg. by a command-line option).
* Added --skip-build option, so lazy debuggers/testers (mainly me) don'tGregory P. Smith2000-05-122-7/+23
| | | | have to wade through all the 'build' output when testing installation.
* Caught up with renaming in 'install_misc' base class.Gregory P. Smith2000-05-121-4/+1
|
* Deleted some cruft.Gregory P. Smith2000-05-121-5/+15
| | | | | Caught up with renaming in 'install_misc' base class. Changed 'run()' to chmod installed scripts under Unix.
* In 'install_misc' class:Gregory P. Smith2000-05-121-10/+7
| | | | | | - renamed '_copydata()' to 'copy_files()' - changed it to record complete output filenames - dropped '_outputdata()' in favour of much simpler 'get_outputs()'
* Patch from Bastien Kleineidam:Gregory P. Smith2000-05-126-1/+68
| | | | | | adds the 'install_data' and 'install_scripts' commands; these two are trivial thanks to the 'install_misc' base class in cmd.py. (Minor tweaks and commentary by me; the code is untested so far.)
* Call 'parse_config_files()' at the appropriate point.Gregory P. Smith2000-05-121-7/+7
| | | | Tweaked error-generating code.
* Preliminary support for config files:Gregory P. Smith2000-05-121-12/+82
| | | | | | - added 'find_config_files()' and 'parse_config_files()' methods - added 'command_options' attribute Comment/docstring updates.
* Made 'check_environ()' "public" by stripping the leading underscore;Gregory P. Smith2000-05-121-2/+9
| | | | | added a global '_environ_checked' so we know if it's already been called.
* Fix from Lyle Johnson: add the '--compiler' option.Gregory P. Smith2000-05-121-2/+11
| | | | | | Also added creation of 'implib_dir', a temporary directory specific to MSVC++ -- but I checked in two ways of fixing it (Lyle's and mine), because I'm not sure which is right.
* Fix from Lyle Johnson: add the '--compiler' option.Gregory P. Smith2000-05-122-3/+12
|
* Added math.rint() -- round according to current IEEE754 modeGuido van Rossum2000-05-112-0/+7
|
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-05-091-0/+6
| | | | | Added another test for string formatting (the one that produced the core dump now fixed in unicodeobject.c).
* Add a simple directory listing function.Guido van Rossum2000-05-091-9/+38
|
* Set HTTPServer class variable allow_reuse_address to 1, so restartingGuido van Rossum2000-05-091-0/+2
| | | | the server after it died doesn't require a wait period.
* Add class variable allow_reuse_address in TCPServer -- if nonzero, theGuido van Rossum2000-05-091-0/+5
| | | | server_bind() method calls setsockopt(SOL_SOCKET, SO_REUSEADDR, 1).
* ConfigParser.read():Fred Drake2000-05-091-1/+1
| | | | | Instead of wrapping 'filenames' value in a list if it's a string, wrap it if it's a string or unicode string.
* Caolan McNamara: properly undo the byte-stuffing of lines startingGuido van Rossum2000-05-091-0/+3
| | | | with a dot. [GvR change: only unstuff when line starts with two dots.]
* Added comment about the MSVC-specific kludge.Greg Ward2000-05-091-0/+10
|
* Deleted some modules that are no longer supported.Guido van Rossum2000-05-083-451/+0
|
* The usual...Guido van Rossum2000-05-0856-667/+5051
|
* Deleted the stdwin-based test() function.Guido van Rossum2000-05-081-66/+0
|
* Deleting all stdwin library modules.Guido van Rossum2000-05-0834-3829/+0
|
* if the GzipFile constructor fails, the __del__ method is stillJeremy Hylton2000-05-081-3/+7
| | | | called. catch the resulting AttributeError and exit cleanly.
* Don't use 'set_option()' or 'get_option()' method -- direct attribute access,Greg Ward2000-05-072-2/+2
| | | | or getattr/setattr, is all that's needed.