summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_data.py
blob: 95ef423127ec28f115299d0a9f3189fa41005d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""distutils.command.install_data

Implements the Distutils 'install_data' command, for installing
platform-independent data files."""

# contributed by Bastian Kleineidam

__revision__ = "$Id$"

from distutils.cmd import install_misc

class install_data (install_misc):

    description = "install data files"

    def finalize_options (self):
        self._install_dir_from('install_data')

    def run (self):
        self._copy_files(self.distribution.data)