summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/install_scripts.py
AgeCommit message (Collapse)AuthorLines
2000-09-30Standardized whitespace around function calls.Greg Ward-5/+5
2000-09-25Added 'boolean_options' list to support config file parsing.Greg Ward-0/+3
2000-09-13Added --force (-f) option to force installation (including bytecodeGreg Ward-1/+4
compilation).
2000-05-27Some far-reaching naming changes:Greg Ward-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").
2000-05-27Tweaked description, help text.Greg Ward-3/+3
2000-05-25Bastian Kleineidam: the "build_scripts" command and changesGreg Ward-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.
2000-05-13Added 'get_inputs()' methods, needed by the "install" command'sGregory P. Smith-0/+3
'get_inputs()'.
2000-05-12Added comment/docstring/revision header.Gregory P. Smith-0/+9
2000-05-12Deleted some cruft.Gregory P. Smith-5/+15
Caught up with renaming in 'install_misc' base class. Changed 'run()' to chmod installed scripts under Unix.
2000-05-12Patch from Bastien Kleineidam:Gregory P. Smith-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.)