summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/install_data.py
AgeCommit message (Collapse)AuthorLines
2011-07-28Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran-2/+0
longer applicable in hg. Patch Contributed by Neil Muller.
2009-03-31Merged revisions 70886,70888-70892 via svnmerge fromTarek Ziadé-1/+0
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70886 | tarek.ziade | 2009-03-31 15:50:59 -0500 (Tue, 31 Mar 2009) | 1 line added tests for the clean command ........ r70888 | tarek.ziade | 2009-03-31 15:53:13 -0500 (Tue, 31 Mar 2009) | 1 line more tests for the register command ........ r70889 | tarek.ziade | 2009-03-31 15:53:55 -0500 (Tue, 31 Mar 2009) | 1 line more tests for the upload command ........ r70890 | tarek.ziade | 2009-03-31 15:54:38 -0500 (Tue, 31 Mar 2009) | 1 line added test to the install_data command ........ r70891 | tarek.ziade | 2009-03-31 15:55:21 -0500 (Tue, 31 Mar 2009) | 1 line added tests to the install_headers command ........ r70892 | tarek.ziade | 2009-03-31 15:56:11 -0500 (Tue, 31 Mar 2009) | 1 line making sdist and config test silents ........
2007-10-16Patch# 1258 by Christian Heimes: kill basestring.Guido van Rossum-1/+1
I like this because it makes the code shorter! :-)
2007-08-30General cleanup, raise normalization in Lib/distutils.Collin Winter-8/+6
2007-04-27Checkpoint. Manipulated things so that string literals are alwaysGuido van Rossum-2/+1
unicode, and a few other compensating changes, e.g. str <- unicode, chr <- unichr, and repr() of a unicode string no longer starts with 'u'. Lots of unit tests are broken, but some basic things work, in particular distutils works so the extensions can be built, and test_builtin.py works.
2004-11-10Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis-1/+1
2002-11-26Use "is" to test type objects, not "==".Fred Drake-1/+1
2002-11-19Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling-0/+2
suggested by PEP 291.
2001-09-04[Bug #444589] Record empty directories in the install_data commandAndrew M. Kuchling-4/+12
Slightly modified version of patch from Jon Nelson (jnelson).
2001-02-05Patch #103587: Fix typo that broke the install_data command; caught byAndrew M. Kuchling-1/+1
Uche Ogbuji
2001-01-28Data pathnames were not converted from URL-style to local style. Fixed.Jack Jansen-2/+4
2000-10-14Untabified.Greg Ward-3/+3
2000-09-30Expect a tuple (dest_name, copied) from 'copy_file()'.Greg Ward-2/+2
2000-09-25Added 'boolean_options' list to support config file parsing.Greg Ward-0/+2
2000-09-15Added 'warn_dir' option so other code can sneak in and disableGreg Ward-3/+6
the sometimes inappropriate warning about where we're installing data files.
2000-09-13Added --force (-f) option to force installation (including bytecodeGreg Ward-0/+3
compilation).
2000-07-27Fixed a grab-bag of typos spotted by Rob Hooft.Greg Ward-1/+1
2000-06-24Print a warning if we install a data file right in install_dir.Greg Ward-3/+7
Tweaked help text.
2000-06-21Build the 'outfiles' list so 'get_outputs()' has something to return.Greg Ward-4/+6
(Bug spotted and originally fixed by Rene Liebscher; fix redone by me.)
2000-06-06'get_outputs()' now returns an empty list instead of None.Greg Ward-1/+1
2000-05-25Fix to use 'change_root()' rather than directly mangling path.Greg Ward-1/+2
2000-05-25Bastian Kleineidam: the "build_scripts" command and changesGreg Ward-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.
2000-05-13List data files are listed in the Distribution attribute 'data_files',Gregory P. Smith-2/+2
rather than 'data'.
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-12Caught up with renaming in 'install_misc' base class.Gregory P. Smith-4/+1
2000-05-12Patch from Bastien Kleineidam:Gregory P. Smith-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.)