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 2012年05月05日 19:54 by LEW21, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| fix-custom-commands.patch | LEW21, 2012年05月05日 19:54 | Patch | ||
| Messages (3) | |||
|---|---|---|---|
| msg160035 - (view) | Author: Janusz Lewandowski (LEW21) | Date: 2012年05月05日 19:54 | |
Running (by pysetup run cmdname) custom commands doesn't work, because setup.cfg is parsed after command handling. I've attached a patch to fix this behavior. |
|||
| msg160041 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年05月05日 21:08 | |
Thanks for the report and patch. I discovered the same thing a few weeks ago when working on a bug with a contributor; I thought there was already a bug opened for that but apparently not. The fix I had in mind is the same as your patch, and I also have a test for this. This was not caught before because our tests use internal objects directly (i.e. the Distribution class), so the run function is not exercised by the test suite. Some of the tests are starting to use subprocess instead so that we can really test the script. |
|||
| msg161291 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年05月21日 19:56 | |
New changeset 70831fde0ec4 by Éric Araujo in branch 'default': Have pysetup read setup.cfg early to find custom commands (#14733). http://hg.python.org/distutils2/rev/70831fde0ec4 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58938 |
| 2014年03月13日 07:43:14 | eric.araujo | set | status: open -> closed stage: resolved resolution: fixed versions: - Python 3.3 |
| 2012年05月21日 19:56:03 | python-dev | set | nosy:
+ python-dev messages: + msg161291 |
| 2012年05月10日 03:08:47 | eric.araujo | link | issue14651 dependencies |
| 2012年05月05日 21:08:35 | eric.araujo | set | messages:
+ msg160041 versions: + 3rd party, Python 3.3, - Python 2.7 |
| 2012年05月05日 19:54:57 | LEW21 | create | |