summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_scripts.py
Commit message (Collapse)AuthorAgeFilesLines
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* Fix mode on scripts to have the read bit set (noted by Nicholas Riley)Andrew M. Kuchling2002-11-291-1/+1
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* 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.
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-2/+3
| | | | | | | | | | | | | | | 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.
* Restrict the mode to the lowest four octal positions; higher positionsAndrew M. Kuchling2002-01-311-1/+1
| | | | | | | | contain the type of the file (regular file, socket, link, &c.). This means that install_scripts will now print "changing mode of <file> to 775" instead of "... to 100775". 2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.
* Standardized whitespace around function calls.Greg Ward2000-09-301-5/+5
|
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-251-0/+3
|
* Added --force (-f) option to force installation (including bytecodeGreg Ward2000-09-131-1/+4
| | | | compilation).
* Some far-reaching naming changes:Greg Ward2000-05-271-1/+1
| | | | | | | * Command method 'find_peer()' -> 'get_finalized_command()' * Command method 'run_peer()' -> 'run_command()' Also deleted the 'get_command_option()' method from Command, and fixed the one place where it was used (in "bdist_dumb").
* Tweaked description, help text.Greg Ward2000-05-271-3/+3
|
* Bastian Kleineidam: the "build_scripts" command and changesGreg Ward2000-05-251-6/+25
| | | | | | | | | | | | | | | | | | | | | | | necessary to support it. Details: - build command additionally calls build_scripts - build_scripts builds your scripts in 'build/scripts' and adjusts the first line if it begins with "#!" and ends with "python", optionally ending with commandline options (like -O, -t ...). Adjusting means we write the current path to the Python interpreter in the first line. - install_scripts copies the scripts to the install_scripts dir - install_data copies your data_files in install_data. You can supply individual directories for your data_files: data_files = ['doc/info.txt', # copy this file in install_scripts dir ('testdata', ['a.dat', 'b.dat']), # copy these files in # install_scripts/testdata ('/etc', ['packagerc']), # copy this in /etc. When --root is # given, copy this in rootdir/etc ] So you can use the --root option with absolute data paths.
* Added 'get_inputs()' methods, needed by the "install" command'sGregory P. Smith2000-05-131-0/+3
| | | | 'get_inputs()'.
* Added comment/docstring/revision header.Gregory P. Smith2000-05-121-0/+9
|
* 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.
* Patch from Bastien Kleineidam:Gregory P. Smith2000-05-121-0/+16
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.)