Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added missing import. | Greg Ward | 2000-05-20 | 1 | -0/+1 |
| | |||||
* | Lyle Johnson: added stubs for the four miscellaneous methods that must be | Greg Ward | 2000-05-20 | 1 | -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 Ward | 2000-05-20 | 3 | -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 Rossum | 2000-05-19 | 1 | -0/+1 |
| | |||||
* | Changed default developer name. | Gregory P. Smith | 2000-05-13 | 1 | -1/+6 |
| | | | | Added some guiding comments. | ||||
* | Template for writing Distutils command modules. | Gregory P. Smith | 2000-05-13 | 1 | -0/+39 |
| | |||||
* | Contribution from Harry Henry Gebel: the 'bdist_rpm' command. | Gregory P. Smith | 2000-05-13 | 1 | -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't | Gregory P. Smith | 2000-05-13 | 1 | -1/+1 |
| | | | | have to worry about "or []" in 'get_outputs()'. | ||||
* | List data files are listed in the Distribution attribute 'data_files', | Gregory P. Smith | 2000-05-13 | 2 | -3/+3 |
| | | | | rather than 'data'. | ||||
* | Added the 'bdist_base' option, the base temp directory for all bdist commands. | Gregory P. Smith | 2000-05-13 | 1 | -2/+13 |
| | |||||
* | Added 'get_inputs()' methods, needed by the "install" command's | Gregory P. Smith | 2000-05-13 | 2 | -0/+6 |
| | | | | 'get_inputs()'. | ||||
* | Drastically simplified by taking advantage of the "install" command's | Gregory P. Smith | 2000-05-13 | 1 | -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 the | Gregory P. Smith | 2000-05-13 | 1 | -6/+7 |
| | | | | "bdist" command rather than "build". | ||||
* | Typo fix. | Gregory P. Smith | 2000-05-13 | 1 | -1/+1 |
| | |||||
* | Made the '--record' option take an argument, which is the name of the | Gregory P. Smith | 2000-05-13 | 1 | -4/+5 |
| | | | | file to write the list of installed files to. | ||||
* | Ditch the explicit search for *.py[co] files -- they're now included in | Gregory P. Smith | 2000-05-13 | 1 | -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. Smith | 2000-05-13 | 1 | -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 comes | Gregory P. Smith | 2000-05-13 | 1 | -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 of | Gregory P. Smith | 2000-05-13 | 1 | -1/+21 |
| | | | | installed files to INSTALLED_FILES. | ||||
* | Added the 'build_bdist' option and code to clean it up -- this is the | Gregory P. Smith | 2000-05-13 | 1 | -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 environment | Gregory P. Smith | 2000-05-13 | 1 | -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, specifically | Gregory P. Smith | 2000-05-13 | 1 | -2/+7 |
| | | | | the 'no_format_option' class attribute. | ||||
* | Harry Henry Gebel: add 'bdist_rpm' command. | Gregory P. Smith | 2000-05-13 | 1 | -0/+1 |
| | |||||
* | From Lyle Johnson: renamed 'implib_dir' to 'implib_file', and | Gregory P. Smith | 2000-05-13 | 1 | -7/+5 |
| | | | | correctly ensure that it's 'dirname' exists. | ||||
* | Added comment/docstring/revision header. | Gregory P. Smith | 2000-05-12 | 2 | -0/+18 |
| | |||||
* | Fixed 'select_scheme()' so it doesn't override a directory attribute that's | Gregory P. Smith | 2000-05-12 | 1 | -1/+3 |
| | | | | already been set (eg. by a command-line option). | ||||
* | Added --skip-build option, so lazy debuggers/testers (mainly me) don't | Gregory P. Smith | 2000-05-12 | 2 | -7/+23 |
| | | | | have to wade through all the 'build' output when testing installation. | ||||
* | Caught up with renaming in 'install_misc' base class. | Gregory P. Smith | 2000-05-12 | 1 | -4/+1 |
| | |||||
* | Deleted some cruft. | Gregory P. Smith | 2000-05-12 | 1 | -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. Smith | 2000-05-12 | 1 | -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. Smith | 2000-05-12 | 6 | -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. Smith | 2000-05-12 | 1 | -7/+7 |
| | | | | Tweaked error-generating code. | ||||
* | Preliminary support for config files: | Gregory P. Smith | 2000-05-12 | 1 | -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. Smith | 2000-05-12 | 1 | -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. Smith | 2000-05-12 | 1 | -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. Smith | 2000-05-12 | 2 | -3/+12 |
| | |||||
* | Added math.rint() -- round according to current IEEE754 mode | Guido van Rossum | 2000-05-11 | 2 | -0/+7 |
| | |||||
* | M.-A. Lemburg <mal@lemburg.com>: | Fred Drake | 2000-05-09 | 1 | -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 Rossum | 2000-05-09 | 1 | -9/+38 |
| | |||||
* | Set HTTPServer class variable allow_reuse_address to 1, so restarting | Guido van Rossum | 2000-05-09 | 1 | -0/+2 |
| | | | | the server after it died doesn't require a wait period. | ||||
* | Add class variable allow_reuse_address in TCPServer -- if nonzero, the | Guido van Rossum | 2000-05-09 | 1 | -0/+5 |
| | | | | server_bind() method calls setsockopt(SOL_SOCKET, SO_REUSEADDR, 1). | ||||
* | ConfigParser.read(): | Fred Drake | 2000-05-09 | 1 | -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 starting | Guido van Rossum | 2000-05-09 | 1 | -0/+3 |
| | | | | with a dot. [GvR change: only unstuff when line starts with two dots.] | ||||
* | Added comment about the MSVC-specific kludge. | Greg Ward | 2000-05-09 | 1 | -0/+10 |
| | |||||
* | Deleted some modules that are no longer supported. | Guido van Rossum | 2000-05-08 | 3 | -451/+0 |
| | |||||
* | The usual... | Guido van Rossum | 2000-05-08 | 56 | -667/+5051 |
| | |||||
* | Deleted the stdwin-based test() function. | Guido van Rossum | 2000-05-08 | 1 | -66/+0 |
| | |||||
* | Deleting all stdwin library modules. | Guido van Rossum | 2000-05-08 | 34 | -3829/+0 |
| | |||||
* | if the GzipFile constructor fails, the __del__ method is still | Jeremy Hylton | 2000-05-08 | 1 | -3/+7 |
| | | | | called. catch the resulting AttributeError and exit cleanly. | ||||
* | Don't use 'set_option()' or 'get_option()' method -- direct attribute access, | Greg Ward | 2000-05-07 | 2 | -2/+2 |
| | | | | or getattr/setattr, is all that's needed. |