summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_scripts.py
Commit message (Collapse)AuthorAgeFilesLines
* backport akuchling's checkin ofMichael W. Hudson2002-02-221-1/+1
| | | | | | | | | | | | | | revision 1.11 of install_scripts.py Restrict the mode to the lowest four octal positions; higher positions 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. This patch was applied by an alarmingly automated system -- I hope it worked...
* 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.)