summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
Commit message (Collapse)AuthorAgeFilesLines
* Renamed all command classes so they're exactly the same as the name of theGreg Ward2000-02-1810-10/+10
| | | | | command itself: no more of this "FooBar class for foo_bar command" silliness.
* Changed 'dist' to 'sdist'.Greg Ward2000-02-181-1/+1
|
* The 'sdist' command to create a source distribution. This is derived from theGreg Ward2000-02-171-0/+716
| | | | | | old 'dist' command, but the code for dealing with manifests is completely redone -- and renaming the command to 'sdist' is more symmetric with the soon-to-exist 'bdist' command.
* The 'dist' command is dead -- long live the 'sdist' command!Greg Ward2000-02-171-558/+0
|
* Path from Thomas Heller: resurrect the .def file kludge while preserving theGreg Ward2000-02-101-2/+14
| | | | /export option mini-kludge.
* Added 'debug' option, and changed compile/link calls to use it.Greg Ward2000-02-093-10/+30
|
* Added 'debug' option (just there for 'build_ext' and 'build_lib' commandsGreg Ward2000-02-091-0/+3
| | | | to fallback to if the user doesn't set it for those commands.
* Ditch .def file kludge for (much smaller) /export option kludge.Greg Ward2000-02-081-12/+1
|
* Run the 'build_lib' command before building extensions, if necessary.Greg Ward2000-02-051-0/+6
|
* New command to build C (and C++, hopefully) libraries needed by extensionsGreg Ward2000-02-052-0/+322
| | | | in the current distribution: motivated by PIL's libImaging.
* Tweaked various comments, docstrings, and error messages.Greg Ward2000-02-051-2/+12
|
* Improved an error message.Greg Ward2000-02-031-2/+5
| | | | Announce when we start building each extension (better feedback).
* Patch from Joe Van Andel: fix arg to % operator in warning.Greg Ward2000-02-021-2/+2
|
* Allow either README or README.txt as a "standard file".Greg Ward2000-01-301-4/+16
|
* Added 'description' class attribute to every command class (to help theGreg Ward2000-01-308-6/+26
| | | | | | | '--help-commands' option). Shuffled imports around in a few command modules to avoid expensive up-front import of sysconfig (and resulting delays in generating list of all commands).
* Added 'dist' command.Greg Ward2000-01-301-0/+2
|
* Added missing run of corresponding 'build' command.Greg Ward2000-01-303-0/+9
|
* Fix indentation bug.Greg Ward2000-01-171-2/+2
|
* Added missing import.Greg Ward2000-01-171-8/+23
| | | | Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist.
* Added code to use Jim Ahlstrom's zipfile.py module if the external zipGreg Ward2000-01-171-5/+32
| | | | | command wasn't found or failed. (Code supplied by Thomas Heller <thomas.heller@ion-tof.com>.)
* Always run sys.prefix and sys.exec_prefix through 'os.path.normpath()'Greg Ward2000-01-171-4/+4
| | | | before storing or using.
* Ditch unneeded imports.Greg Ward2000-01-171-1/+0
|
* Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.Greg Ward2000-01-091-5/+5
|
* Catch errors from 'rmtree' and emit a warning.Greg Ward1999-12-161-2/+10
|
* Use 'search', not 'match', on filename pattern regexes.Greg Ward1999-12-131-2/+2
|
* Catch missing MANIFEST file and warn rather than blowing up.Greg Ward1999-12-121-3/+27
| | | | | | | | Added 'nuke_release_tree()' method to blow away the directory from which the archive file(s) are created, and call it (conditionally) from 'make_distribution()'. Added 'keep_tree' option (false by default) to disable the call to 'nuke_release_tree()'.
* Fixed 'find_package_modules()' to ensure that we never build (and thusGreg Ward1999-12-121-11/+24
| | | | | | | | install) the setup script itself. Fixed 'build_module()' so we do *not* preserve file mode (which means we can install read-only files, which makes the next installation of this distribution fail -- at least under Unix); added a comment explaining this.
* Changed 'build_extensions()' so 'sources' can be a list or tuple; andGreg Ward1999-12-121-3/+4
| | | | | call CCompiler method 'compile()' with 'include_dirs' not 'includes'. Fixed stupid typo in 'get_source_files()'.
* [from 1999-11-04]Greg Ward1999-12-031-5/+14
| | | | | | | | Bunch of little bug fixes that appeared in building non-packagized distributions. Mainly: - brain-slip typo in 'get_package_dir()' - don't try to os.path.join() an empty path tuple -- it doesn't like it - more type-safety in 'build_module()'
* Don't assume GNU tar -- generate tar file and compress in separate steps.Greg Ward1999-10-231-12/+23
| | | | | | Now supports the full range of intended formats (tar, ztar, gztar, zip). "-f" no longer a short option for "--formats" -- conflicts with new global option "--force"!
* Removed massive comment speculating about needlessly complex variationsGreg Ward1999-10-231-139/+0
| | | | on the manifest file syntax.
* Fix how we run 'zip' -- give explicit .zip extension.Greg Ward1999-10-231-1/+1
|
* Filter 'glob()' results so we only look at regular files.Greg Ward1999-10-031-2/+2
|
* Pass 'force' flag to 'new_compiler()'.Greg Ward1999-10-031-2/+3
|
* Don't import what we don't use.Greg Ward1999-10-031-1/+1
|
* Tweaked verbosity messages for byte-compilation.Greg Ward1999-10-032-4/+4
|
* Added 'list_only' option (and modified 'run()' to respect it).Greg Ward1999-09-291-1/+9
|
* New command to generate source distribution based on a manifest file.Greg Ward1999-09-291-0/+590
|
* Added 'package' option.Greg Ward1999-09-291-7/+44
| | | | | | | | | | | | Catch up with renamed 'platdir' -> 'build_platlib' option in 'build'. Don't call 'set_final_options()' in 'run()' anymore -- that's now guaranteed to be taken care of for us by the Distribution instance. If 'include_dirs' is a string, split it on os.pathsep (this is half- hearted -- support for setting compile/link options on the command line is totally lame and probably won't work at all). Added 'get_source_files()' for use by 'dist' command. Added code to 'build_extensions()' to figure out the "def file" to use with MSVC++ and add it to the linker command line as an "extra_postarg".
* Renamed 'dir' option to be consistent with other commands.Greg Ward1999-09-291-35/+66
| | | | | | | | | | | | Don't call 'set_final_options()' in 'run()' anymore -- that's now guaranteed to be taken care of for us by the Distribution instance. Rearranged to bit to allow outsiders (specifically, the 'dist' command) to find out what modules we would build: - 'find_modules()' renamed to 'find_package_modules()' - most of 'build_modules()' abstracted out to 'find_modules()' - added 'get_source_files()' (for the 'dist' command to use) - drastically simplified 'build_modules()' -- now just a wrapper around 'find_modules()' and 'build_module()'
* Renamed many options to be consistent across commands.Greg Ward1999-09-295-41/+35
| | | | | | Tweaked some help strings to be consistent with documentation. Don't call 'set_final_options()' in 'run()' anymore -- that's now guaranteed to be taken care of for us by the Distribution instance.
* Added docstring, brought __all__ up-to-date.Greg Ward1999-09-211-2/+19
|
* Added 'install_path' option for giving non-packagized moduleGreg Ward1999-09-211-12/+82
| | | | | | | | | | | distributions their own directory (and .pth file). Overhauled how we determine installation directories in 'set_final_options()' to separate platform-dependence and take 'install_path' option into account. Added 'create_path_file()' to create path config file when 'install_path' given. Only run 'install_py' and 'install_ext' when, respectively, there are some pure Python modules and some extension modules in the distribution.
* Only run build_py if we have pure Python modules, and build_ext if weGreg Ward1999-09-211-5/+9
| | | | have extension modules.
* Some option changes:Greg Ward1999-09-211-17/+30
| | | | | | | | | | - rename 'dir' to 'build_dir' - take 'package' from distribution option 'ext_package' - take 'extensions' from distribution option 'ext_modules' - take 'include_dirs' from distribution Name keyword args explictly when calling CCompiler methods. Overhauled how we generate extension filenames (in 'extension_filename() and 'build_extension()') to take 'package' option into account.
* Basically a complete rewrite to support dealing with modules in wholeGreg Ward1999-09-211-36/+197
| | | | packages and searching for source files by 'package_dir'.
* Changed selection of installation directories (in 'set_final_options()')Greg Ward1999-09-132-12/+28
| | | | | so that pure Python modules are installed to the platform-specific directory if there are any extension modules in this distribution.
* Straightened up the selection of installation directories for platform-Greg Ward1999-09-131-31/+21
| | | | | | specific files; it was somewhat broken, and the comments were dead wrong. Now runs 'install_ext' command after 'install_py'.
* Added support for 'package' option, including where to link theGreg Ward1999-09-131-8/+11
| | | | actual extension module to.
* Comment addition.Greg Ward1999-09-131-0/+3
|