deinstall (Was: Re: [Distutils] setup.py clean questions )

Thomas Heller thomas.heller@ion-tof.com
Fri Feb 16 10:03:08 2001


mal@lemburg.com:
> data_files = [
> 
>     'mx/Doc/mxExtensions.html',
>     'mx/Doc/mxLicense.html',
> 
>     'mx/DateTime/Doc/mxDateTime.html',
>     'mx/DateTime/Doc/mxDateTime-History.html',
>     'mx/DateTime/Doc/mxLicense.html',
>     'mx/DateTime/COPYRIGHT',
>     'mx/DateTime/LICENSE',
> 
> ]
You can probably do something like this:

data_files = [('mx/Doc', glob.glob('mx/Doc/mx*.html'),
              ('mx/DateTime/Doc', glob.glob('mx*.html')]

to install into several subdirectories with the _standard_
install_data command.

Thomas