Distutils: Can I create an empty directory on target system?

Chris Lyon chris.lyon at spritenote.co.uk
Sun Jan 19 17:58:37 CET 2003


I know that Distutils can be used to create a file in a directory:-

setup(...
      data_files=[('bitmaps', ['bm/b1.gif', 'bm/b2.gif']),
                  ('config', ['cfg/data.cfg'])])

Is there an equivalent for producing emplt directories on the target
system.
I would like to precreate directories.
Is this possible or is it considered the responsibility of the
installed application to establish it's own environment?




More information about the Python-list mailing list