summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* The standard definition file is now called mwerks_shcarbon_plugin.h.Jack Jansen2002-06-271-1/+1
|
* Whitespace normalization (remove tabs)Neal Norwitz2002-06-261-4/+4
|
* Fixed various MacPython-specific issues found by attempting to use the ↵Jack Jansen2002-06-262-4/+37
| | | | standard core setup.py for MacPython.
* This module broke on the Mac (where it can't work, but distutils seems to ↵Jack Jansen2002-06-261-1/+2
| | | | import it anyway) because it imported pwd and grp. Moved the import to inside the routine where they're used.
* Define NDEBUG for releae builds, just like Python.Jeremy Hylton2002-06-181-1/+2
| | | | XXX Why doesn't distutils on Windows use the same set of flags as Python?
* Add implementation of _compile() and use default compile() method.Jeremy Hylton2002-06-183-84/+33
|
* Add a default implementation of compile() to the base class.Jeremy Hylton2002-06-181-1/+20
| | | | | | | The default implementation calls _compile() to compile individual files. This method must be implemented by the subclass. This change factors out most of the remaining common code in all the compilers except mwerks.
* Only import msvccompiler on win32 platforms.Jeremy Hylton2002-06-181-11/+11
|
* Extend dependency tracking so that .o files are rebuilt.Jeremy Hylton2002-06-131-4/+2
| | | | | | | | | | Two new tests are needed: Don't skip building an extension if any of the depends files are newer than the target. Pass ext.depends to compiler.compile() so that it can track individual files.
* Refactor compile() method implementations.Jeremy Hylton2002-06-135-272/+178
| | | | | | | | Always use _setup_compile() to do the grunt work of processing arguments, figuring out which files to compile, and emitting debug messages for files that are up-to-date. Use _get_cc_args() when possible.
* Add depends=None to the arglist for compile().Jeremy Hylton2002-06-131-1/+2
|
* Extend compiler() method with optional depends argument.Jeremy Hylton2002-06-131-74/+168
| | | | | | | | | | | | This change is not backwards compatible. If a compiler subclass exists outside the distutils package, it may get called with the unexpected keyword arg. It's easy to extend that compiler by having it ignore the argument, and not much harder to do the right thing. If this ends up being burdensome, we can change it before 2.3 final to work harder at compatibility. Also add _setup_compile() and _get_cc_args() helper functions that factor out much of the boilerplate for each concrete compiler class.
* More style changes and little cleanups.Jeremy Hylton2002-06-131-63/+33
| | | | | | | | Remove __init__ that just called base class __init__ with same args. Fold long argument lists into fewer, shorter lines. Remove parens in tuple unpacks. Don't put multiple statements on one line with a semicolon. In find_library_file() compute the library_filename() upfront.
* Some more style improvementsJeremy Hylton2002-06-131-25/+4
|
* Python style conformance: Delete spaces between name of function and arglist.Jeremy Hylton2002-06-131-41/+41
| | | | Making the world better a little bit at a time <wink>.
* Add a new definition to Extension objects: depends.Jeremy Hylton2002-06-122-1/+6
| | | | | depends is a list of files that the target depends, but aren't direct sources of the target. think .h files.
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-2/+18
|
* Change warning to debug level; it's a very minor issue.Jeremy Hylton2002-06-061-2/+2
| | | | | The specific warning is that clean didn't find a directory that should be removed if it exists.
* Move warning about directory not on sys.path to debug level.Jeremy Hylton2002-06-041-8/+10
| | | | Fix a bunch of multiline string constants that used +.
* Test changes before checking them in.Jeremy Hylton2002-06-041-1/+1
|
* Track extra arg to option_table to all uses of itJeremy Hylton2002-06-041-2/+2
|
* Replace bogus bare variables with attribute access.Jeremy Hylton2002-06-041-3/+4
|
* Define DEBUG as early as possible to avoid import problems.Jeremy Hylton2002-06-041-5/+5
|
* Add missing import of log.Jeremy Hylton2002-06-041-0/+1
|
* Use module-level import of DEBUG instead of many function-level imports.Jeremy Hylton2002-06-041-4/+1
|
* Remove unused importsJeremy Hylton2002-06-042-2/+0
|
* Make None return explicitJeremy Hylton2002-06-041-1/+1
|
* import base64 at the top to avoid two different imports at other timesJeremy Hylton2002-06-041-2/+2
|
* ensure_filename() only takes one argument.Jeremy Hylton2002-06-041-6/+4
| | | | | Call ensure_string() with one arg too, since the second value passed was the default.
* Reindent lines to improve readabilityJeremy Hylton2002-06-041-3/+3
|
* Remove (commented out) options that have moved into the distribution.Jeremy Hylton2002-06-041-13/+0
|
* get_script() implicitly returned None and also had explicit returns.Jeremy Hylton2002-06-041-26/+25
| | | | | Make all returns explicit and rearrange logic to avoid extra indentation.
* global _option_order is not usedJeremy Hylton2002-06-041-6/+0
|
* Fix bug in recent change to logging code.Jeremy Hylton2002-06-041-1/+1
| | | | | mode is not computed in dry_run mode, so it can't be included in the log message.
* Fix unused local variables caught by pychecker.Jeremy Hylton2002-06-046-22/+8
| | | | | Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
* Set repeat metadata for an option based on repeat local var notJeremy Hylton2002-06-041-1/+1
| | | | constant.
* Remove unused imports caught by pycheckerJeremy Hylton2002-06-044-5/+2
|
* Make setup.py less chatty by default.Jeremy Hylton2002-06-0432-313/+260
| | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing.
* A simple log mechanism styled after the proposed std library moduleJeremy Hylton2002-06-041-0/+56
|
* The comment said:Jeremy Hylton2002-06-041-20/+0
| | | | | | | | # XXX this isn't used anywhere, and worse, it has the same name as a method # in Command with subtly different semantics. (This one just has one # source -> one dest; that one has many sources -> one dest.) Nuke it? Yes. Nuke it.
* When using a Python that has not been installed to build 3rd-partyFred Drake2002-06-041-14/+22
| | | | | | | | | | | | | | | | | | modules, distutils does not understand that the build version of the source tree is needed. This patch fixes distutils.sysconfig to understand that the running Python is part of the build tree and needs to use the appropriate "shape" of the tree. This does not assume anything about the current directory, so can be used to build 3rd-party modules using Python's build tree as well. This is useful since it allows us to use a non-installed debug-mode Python with 3rd-party modules for testing. It as the side-effect that set_python_build() is no longer needed (the hack which was added to allow distutils to be used to build the "standard" extension modules). This closes SF patch #547734.
* Remove unneeded importAndrew M. Kuchling2002-05-301-1/+0
|
* Prevent convert_path from crashing if the path is an empty string. Bugfix ↵Andrew M. Kuchling2002-05-061-2/+2
| | | | candidate.
* Pass the full pathname to MSVC when compiling a debug version. ThisThomas Heller2002-04-251-0/+6
| | | | | allows the debugger to find the source without asking the user to browse for it.
* Append the PC specific include 'PC' and library 'PCBuild' directoriesThomas Heller2002-04-251-1/+8
| | | | | | | under NT - this allows distutils to work with the CVS version or the source distribution. Wrap a long line.
* Fix trivial typo.Thomas Heller2002-04-251-1/+1
|
* Whitespace normalization. Unka Timmy would be proud.Barry Warsaw2002-04-232-57/+57
|
* Patch #531901 by Mark W. Alexander: adds a new distutils packagerMarc-André Lemburg2002-04-175-4/+976
| | | | | | base class (in bdist_packager) and two subclasses which make use of this base class: bdist_pkgtool (for Solaris) and bdist_sdux (for HP-UX).
* Remove unconditional debugging prints.Thomas Heller2002-04-091-3/+0
|
* Set the warn_dir option to 0 before running the install command.Thomas Heller2002-04-092-0/+2
| | | | | | | This suppresses bogus warnings about modules installed into a directory not in sys.path. Bugfix candidate.