This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
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 issue5158 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 -> closed resolution: out of date messages: + msg137976 stage: test needed -> resolved |
| 2011年02月13日 15:56:39 | eric.araujo | set | nosy:
- BreamoreBoy components: + Distutils2 |
| 2011年02月13日 15:55:13 | alexis | set | nosy:
+ alexis components: - 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.2 nosy: mwm, tarek, eric.araujo, akitada, BreamoreBoy messages: + msg114991 components: + Distutils2 keywords: + easy stage: test needed |
| 2010年08月26日 15:29:52 | BreamoreBoy | set | assignee: tarek messages: + msg114989 nosy: + BreamoreBoy |
| 2010年04月14日 08:37:26 | eric.araujo | set | type: behavior messages: + msg103113 nosy: + eric.araujo |
| 2009年02月09日 15:26:17 | akitada | set | nosy:
+ tarek, akitada messages: + msg81460 |
| 2004年12月11日 01:22:25 | mwm | create | |