Issue 1083299: Distutils doesn't pick up all the files it should. (original) (raw)

Created on 2004-12-11 01:22 by mwm, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg60616 - (view) Author: Mike Meyer (mwm) Date: 2004-12-11 01:22
Distutils doesn't pick up files specified in setup.py that it knows about. For instance, files listed on the depends keyword of the Extension class don't get included in a source distribution, or copied to the build directory when building a binary distribution. The data-files keyword to the setup function reportedly suffers the same fate.
msg81460 - (view) Author: Akira Kitada (akitada) * Date: 2009-02-09 15:26
I don't think that's not depends keyword is used for. I assume explanation on is the way that "depends" is supposed to be used.
msg103113 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-04-14 08:37
Hello. (If this comes out of the blue, since the bug was opened years ago, read http://bugs.python.org/issue1083299.) Akira is right about “depends”. Regarding “data_files”, if they’re not picked up it’s a bug. Mike, can you still reproduce it with current Python versions? Reference: http://docs.python.org/distutils/setupscript#installing-additional-files (Not assigning this to Distutils2 since it will have a different behavior with respect to data files, and because it’s really a bug to fix in Distutils. There can’t be any tool that depends on this bug, right?) Regards
msg114989 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-26 15:29
@Éric can you please select the appropriate stage, component(s) or version(s) as you see fit, thanks.
msg114991 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-08-26 15:36
Setting all three branches that accept bug fixes. Someone coming here thanks to the easy keyword could write a unit test, otherwise I’ll do it and adjust versions as needed.
msg137976 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-09 14:44
There are tests for data_files, they are indeed included. Please reopen if you can reproduce the bug.
History
Date User Action Args
2022-04-11 14:56:08 admin set github: 41309
2011-06-09 14:44:29 eric.araujo set status: open -> closedresolution: out of datemessages: + stage: test needed -> resolved
2011-02-13 15:56:39 eric.araujo set nosy: - BreamoreBoycomponents: + Distutils2
2011-02-13 15:55:13 alexis set nosy: + alexiscomponents: - Distutils2
2010-09-30 00:01:29 eric.araujo set versions: + 3rd party
2010-08-26 15:36:17 eric.araujo set versions: + Python 3.1, Python 2.7, Python 3.2nosy:mwm, tarek, eric.araujo, akitada, BreamoreBoymessages: + components: + Distutils2keywords: + easystage: test needed
2010-08-26 15:29:52 BreamoreBoy set assignee: tarekmessages: + nosy: + BreamoreBoy
2010-04-14 08:37:26 eric.araujo set type: behaviormessages: + nosy: + eric.araujo
2009-02-09 15:26:17 akitada set nosy: + tarek, akitadamessages: +
2004-12-11 01:22:25 mwm create