[New-bugs-announce] [issue13331] Packaging cannot install resource directory trees specified in setup.cfg

Vinay Sajip report at bugs.python.org
Thu Nov 3 12:50:56 CET 2011


New submission from Vinay Sajip <vinay_sajip at yahoo.co.uk>:

If setup.cfg contains a line such as

[files]
resources =
    mydata/** = {purelib}

and the project contains a directory tree more than one level deep under mydata, e.g.

mydata
 |
 +-mydata1
 |   |
 |   +-data1.dat
 |
 +-mydata2
     |
     +-data2.dat

then the parsing correctly identifies all the things to copy, but the install_data step fails because it does not try to create intermediate directories for mydata1, mydata2 but tries to copy them as files using copy_file.

----------
assignee: tarek
components: Distutils2, Library (Lib)
messages: 146917
nosy: alexis, eric.araujo, tarek, vinay.sajip
priority: high
severity: normal
status: open
title: Packaging cannot install resource directory trees specified in setup.cfg
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13331>
_______________________________________


More information about the New-bugs-announce mailing list