diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-16 21:49:12 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-16 21:49:12 (GMT) |
commit | 0d0506ecef273135cf5c13ad5be2ad6448a155eb (patch) | |
tree | 122c0fd75c413ac96bc90b82b5ebcc0e2571fe77 /Doc/distutils/sourcedist.rst | |
parent | 25e26a02f4bd5500cf29e3b298ddc2447e07abd1 (diff) | |
download | cpython-0d0506ecef273135cf5c13ad5be2ad6448a155eb.zip cpython-0d0506ecef273135cf5c13ad5be2ad6448a155eb.tar.gz cpython-0d0506ecef273135cf5c13ad5be2ad6448a155eb.tar.bz2 |
Merged revisions 69692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69692 | tarek.ziade | 2009-02-16 22:38:01 +0100 (Mon, 16 Feb 2009) | 1 line
Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files
........
Diffstat (limited to 'Doc/distutils/sourcedist.rst')
-rw-r--r-- | Doc/distutils/sourcedist.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/distutils/sourcedist.rst b/Doc/distutils/sourcedist.rst index 960cc0a..5c0e5d0 100644 --- a/Doc/distutils/sourcedist.rst +++ b/Doc/distutils/sourcedist.rst @@ -74,6 +74,7 @@ source distribution: :meth:`get_source_files` method in :file:`build_clib.py`! **\*\***) * scripts identified by the :option:`scripts` option + See :ref:`distutils-installing-scripts`. * anything that looks like a test script: :file:`test/test\*.py` (currently, the Distutils don't do anything with test scripts except include them in source @@ -83,6 +84,17 @@ source distribution: * :file:`README.txt` (or :file:`README`), :file:`setup.py` (or whatever you called your setup script), and :file:`setup.cfg` +* all files that matches the ``package_data`` metadata. + See :ref:`distutils-installing-package-data`. + + .. versionadded:: 2.7 + +* all files that matches the ``data_files`` metadata. + See :ref:`distutils-additional-files`. + + .. versionadded:: 2.7 + + Sometimes this is enough, but usually you will want to specify additional files to distribute. The typical way to do this is to write a *manifest template*, called :file:`MANIFEST.in` by default. The manifest template is just a list of |