Issue 13331: Packaging cannot install resource directory trees specified in setup.cfg (original) (raw)

Issue13331

Created on 2011-11-03 11:50 by vinay.sajip, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg146917 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2011-11-03 11:50
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.
msg146941 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-11-03 16:02
Should be easy to add a test to reproduce this.
msg213239 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2014-03-12 10:24
This is an issue for d2to1 / pbr / a new wheel PEP.
History
Date User Action Args
2022-04-11 14:57:23 admin set github: 57540
2014-03-12 10:24:44 eric.araujo set status: open -> closedresolution: out of datemessages: + stage: needs patch -> resolved
2011-11-03 16:02:06 eric.araujo set priority: high -> normalassignee: tarek -> eric.araujoversions: + 3rd partykeywords: + easytype: behaviormessages: + stage: needs patch
2011-11-03 11:50:55 vinay.sajip create