Hi Scott (2019.12.31_00:47:02_+0200)
> When a file or directory such as a/b/c.txt is listed in 
> pybuild.testfiles, when it is copied to the build directory, the 
> directory structure portion is lost.  Tests expect certain data files to 
> exist in certain location so this makes it hard to use the 
> pybuild.testfiles feature.  It seems that pybuild.testfiles should 
> retain the original directory structure of the listed files.

Not necessarily. It's quite common to have e.g. src/tests and you don't
want the src directory in the temporary build dir.

I suspect we may need an optional destination path for each entry to
implement this without breaking things.

I did some review of the archive, most pybuild.testfiles users naming a
top-level directory in the source package, and this seems to give them
what they want.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Reply via email to