summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added 'has_option()', 'get_attr_name()' methods.Greg Ward2000-04-211-1/+14
|
* Patch, originally from Bastian Kleineidam and savagely mutilated by me,Greg Ward2000-04-211-50/+193
| | | | | | | | | | | | | | | | | to add the "display metadata" options: --name, --version, --author, and so forth. Main changes: * added 'display_options' class attribute to list all the "display only" options (--help-commands plus the metadata options) * added DistributionMetadata class as a place to put the actual metadata information from the setup script (not to be confused with the metadata display options); the logic dealing with metadata (eg. return self.name or "UNKNOWN") is now in this class * changed 'parse_command_line()' to use the new OO interface provided by fancy_getopt, mainly so we can get at the original order of options on the command line, so we can print multiple lines of distribution meta-data in the order specified by the user * added 'handle_display_options()' to handle display-only options Also fixed some crufty old comments/docstrings.
* Made 'generate_help()' and 'print_help()' methods of FancyGetopt.Greg Ward2000-04-211-99/+102
| | | | | | Added 'set_option_table()' method. Added missing 'self' to 'get_option_order()'. Cosmetic/comment/docstring tweaks.
* Continuing the refactoring: deleted the old 'fancy_getopt()' function,Greg Ward2000-04-211-121/+0
| | | | | leaving in its place a tiny wrapper around the FancyGetopt class for backwards compatibility.
* Hefty refactoring: converted 'fancy_getopt()' function into FancyGetoptGreg Ward2000-04-211-15/+266
| | | | | | | | class. (Mainly this was to support the ability to go back after the getopt operation is done and get extra information about the parse, in particular the original order of options seen on the command line. But it's a big improvement and should make it a lot easier to add functionality in the future.)
* Reformatted wide paragraphs.Greg Ward2000-04-191-23/+22
|
* Reverted '\var' in the "standard installation location" table to '\filevar'.Greg Ward2000-04-191-49/+51
| | | | Reformatted wide paragraphs.
* Dropped '\tilde' and '\bslash' definitions.Greg Ward2000-04-191-5/+0
|
* Changed '\tilde' and '\bslash' to the standard '\textasciitilde' andGreg Ward2000-04-191-9/+9
| | | | '\textbackslash'.
* Removed '\package' definition.Greg Ward2000-04-191-2/+0
|
* Changed '\package' to \module'.Greg Ward2000-04-191-6/+6
|
* Changed '\option' to '\longprogramopt' wherever it referred to a command-lineGreg Ward2000-04-192-27/+27
| | | | option.
* ANSI-fy & de-tabify the source.Fred Drake2000-04-191-1505/+1317
| | | | (4-space indents already used.)
* Bumped version to 0.8.1.Greg Ward2000-04-191-1/+1
|
* Added kludge to deal with the "./ld_so_aix" problem: force all stringsGreg Ward2000-04-191-0/+15
| | | | | in the Makefile that start with "./" to be absolute paths (with the implied root being the directory where the Makefile itself was found).
* Don't load the config.h file, even under Unix, because we never use theGreg Ward2000-04-191-2/+0
| | | | | information from config.h. Code is still there in case someone in the future needs to parse an autoconf-generated config.h file.
* Added 'link_executable()' method (Berthold Hoellmann).Greg Ward2000-04-191-3/+48
| | | | Two small fixes to 'link_shared_object()'.
* Fix by Dan Green and Corran Webster to support LongDateTimeJack Jansen2000-04-181-0/+3
| | | | values. Untested by me.
* Added documentation for WindowsError; omission noted by Michal BozonFred Drake2000-04-171-0/+10
| | | | | | <bozon@natur.cuni.cz>. (Mark Hammond, other Python/Windows cognoscenti: please check this!)
* Clarify the description of the else clause for try/except, and add anFred Drake2000-04-171-3/+8
| | | | | | explanation of why you'd want to use it. Based on a question from Michael Simcich <msimcich@accesstools.com>.
* Reformatted all exception documentation as docstrings.Greg Ward2000-04-151-27/+28
|
* Cleaned up/simplified error-handling:Greg Ward2000-04-157-79/+52
| | | | | | | | | | | | | - DistutilsOptionError is now documented as it's actually used, ie. to indicate bogus option values (usually user options, eg. from the command-line) - added DistutilsSetupError to indicate errors that definitely arise in the setup script - got rid of DistutilsValueError, and changed all usage of it to either DistutilsSetupError or ValueError as appropriate - simplified a bunch of option get/set methods in Command and Distribution classes -- just pass on AttributeError most of the time, rather than turning it into something else
* Fix PR#7 comparisons of recursive objectsJeremy Hylton2000-04-144-3/+126
| | | | | Note that comparisons of deeply nested objects can still dump core in extreme cases.
* Anthony Baxter <anthony@interlink.com.au>:Fred Drake2000-04-141-4/+4
| | | | | | | | The following adds support for RTSP (RFC2326) URLs to the standard urlparse.py module. (Augmented by FLD to include rtspu:, specified in the same RFC & OK'd by Anthony.)
* Don't run "ranlib" if sysconfig's RANLIB (from Python's Makefile) startsGreg Ward2000-04-141-5/+7
| | | | with ":".
* Various wording/formattin tweaks.Greg Ward2000-04-141-12/+132
| | | | Started spewing "Creating Built Distributions" section.
* Use 'get_python_inc()' to figure out the Python include directoriesGreg Ward2000-04-141-8/+5
| | | | rather than cobbling them togethere here.
* Coerce all paths in the manifest template to the local path syntax withGreg Ward2000-04-141-7/+7
| | | | 'native_path()'.
* Cleaned up use of sysconfig module a bit: don't import more namesGreg Ward2000-04-141-7/+13
| | | | | | | than we actually use, and do actually use AR and SO. Run ranlib on static libraries. (Should probably have a platform-check so we don't run ranlib when it's not necessary, ie. on most modern Unices.)
* Don't bother reading config.h on NT or Mac OS. (It's not really neededGreg Ward2000-04-141-6/+0
| | | | on Unix either, so should probably disappear entirely.)
* Simplify creation of the version_info value for clarity, perFred Drake2000-04-131-6/+7
| | | | suggestion from Greg Stein.
* Update change to version_info structure.Fred Drake2000-04-131-6/+7
|
* Capitulate, changing version_info to a 5-tuple:Fred Drake2000-04-131-12/+18
| | | | | | major, minor, micro, level, serial Values are now monotonically increasing with each new release.
* Document hexversion (incompletely explained) and version_info (easilyFred Drake2000-04-131-0/+32
| | | | explained).
* Define version_info to be a tuple (major, minor, micro, level); levelFred Drake2000-04-131-1/+19
| | | | | | is a string "a2", "b1", "c1", or '' for a final release. Added version_info and hexversion to the module docstring.
* setup_confname_table(): Close memory leak caused by not decref'ing theBarry Warsaw2000-04-131-16/+15
| | | | inserted dictionary values. Also, simplified the logic a bit.
* Thomas Heller <thomas.heller@ion-tof.com>:Fred Drake2000-04-131-7/+8
| | | | | | | ihooks.ModuleLoader does not implement reload(mod) correctly: If mod has already been loaded by ModuleLoader, it has been returned from a cache. Added an additional parameter to import_it() to force reloading.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-7/+73
| | | | Updated to version 1.4.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-0/+8
| | | | Added test for Unicode string concatenation.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-4/+40
| | | | Added more documentation. Clarified some existing comments.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-2/+23
| | | | | Fixed problem with Unicode string concatenation: u = (u"abc" u"abc") previously dumped core.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-0/+1
| | | | Added test output for Unicode string concatenation test.
* When refering to Unicode characters in exception messages andFred Drake2000-04-131-5/+5
| | | | | docstrings, the documentation guidelines call for "Unicode", not "unicode". Comply.
* raise TypeError when bad argument passed to cStringIO.StringIOJeremy Hylton2000-04-121-4/+10
|
* ord: provide better error messagesJeremy Hylton2000-04-121-8/+19
|
* Added note about usual default prefix under Linux (thanks to Peter FunkGreg Ward2000-04-121-4/+9
| | | | for the idea).
* Trying to placate Fred: redefine \tilde and \bslash; document everything.Greg Ward2000-04-121-9/+23
| | | | Still some not-quite-standard definitions in here that I have to fix.
* Changed the table of per-platform default installation locations to beGreg Ward2000-04-121-21/+32
| | | | more consistent with the rest of the Python docs.
* Make use of \longprogramopt where appropriate.Fred Drake2000-04-112-3/+3
|
* Elaborate descriptions of \e, \module.Fred Drake2000-04-111-2/+11
| | | | Describe policy on vertical lines in tables.