summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_data.py
Commit message (Collapse)AuthorAgeFilesLines
* Use "is" to test type objects, not "==".Fred Drake2002-11-261-1/+1
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* [Bug #444589] Record empty directories in the install_data commandAndrew M. Kuchling2001-09-041-4/+12
| | | | Slightly modified version of patch from Jon Nelson (jnelson).
* Patch #103587: Fix typo that broke the install_data command; caught byAndrew M. Kuchling2001-02-051-1/+1
| | | | Uche Ogbuji
* Data pathnames were not converted from URL-style to local style. Fixed.Jack Jansen2001-01-281-2/+4
|
* Untabified.Greg Ward2000-10-141-3/+3
|
* Expect a tuple (dest_name, copied) from 'copy_file()'.Greg Ward2000-09-301-2/+2
|
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-251-0/+2
|
* Added 'warn_dir' option so other code can sneak in and disableGreg Ward2000-09-151-3/+6
| | | | the sometimes inappropriate warning about where we're installing data files.
* Added --force (-f) option to force installation (including bytecodeGreg Ward2000-09-131-0/+3
| | | | compilation).
* Fixed a grab-bag of typos spotted by Rob Hooft.Greg Ward2000-07-271-1/+1
|
* Print a warning if we install a data file right in install_dir.Greg Ward2000-06-241-3/+7
| | | | Tweaked help text.
* Build the 'outfiles' list so 'get_outputs()' has something to return.Greg Ward2000-06-211-4/+6
| | | | (Bug spotted and originally fixed by Rene Liebscher; fix redone by me.)
* 'get_outputs()' now returns an empty list instead of None.Greg Ward2000-06-061-1/+1
|
* Fix to use 'change_root()' rather than directly mangling path.Greg Ward2000-05-251-1/+2
|
* Bastian Kleineidam: the "build_scripts" command and changesGreg Ward2000-05-251-5/+40
| | | | | | | | | | | | | | | | | | | | | | | 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.
* List data files are listed in the Distribution attribute 'data_files',Gregory P. Smith2000-05-131-2/+2
| | | | rather than 'data'.
* 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
|
* Caught up with renaming in 'install_misc' base class.Gregory P. Smith2000-05-121-4/+1
|
* Patch from Bastien Kleineidam:Gregory P. Smith2000-05-121-0/+14
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.)