mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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 ........
This commit is contained in:
parent
25e26a02f4
commit
0d0506ecef
6 changed files with 162 additions and 42 deletions
|
@ -427,6 +427,7 @@ The versions identified by the qualifiers are those that are obsoleted by the
|
|||
distribution being described. If no qualifiers are given, all versions of the
|
||||
named module or package are understood to be obsoleted.
|
||||
|
||||
.. _distutils-installing-scripts:
|
||||
|
||||
Installing Scripts
|
||||
==================
|
||||
|
@ -449,6 +450,12 @@ way. From the PyXML setup script::
|
|||
scripts=['scripts/xmlproc_parse', 'scripts/xmlproc_val']
|
||||
)
|
||||
|
||||
All the scripts will also be added to the ``MANIFEST``
|
||||
file if no template is provided. See :ref:`manifest`.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
.. _distutils-installing-package-data:
|
||||
|
||||
Installing Package Data
|
||||
=======================
|
||||
|
@ -491,6 +498,13 @@ The corresponding call to :func:`setup` might be::
|
|||
)
|
||||
|
||||
|
||||
All the files that match ``package_data`` will be added to the ``MANIFEST``
|
||||
file if no template is provided. See :ref:`manifest`.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
.. _distutils-additional-files:
|
||||
|
||||
Installing Additional Files
|
||||
===========================
|
||||
|
||||
|
@ -525,6 +539,11 @@ without specifying a target directory, but this is not recommended, and the
|
|||
files directly in the target directory, an empty string should be given as the
|
||||
directory.
|
||||
|
||||
All the files that match ``data_files`` will be added to the ``MANIFEST``
|
||||
file if no template is provided. See :ref:`manifest`.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
|
||||
.. _meta-data:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue