[issue12240] Allow multiple setup_hooks

2011-06-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The tests were failing on builbots with an ASCII locale. The config files have to be opened with an explicit encoding='utf-8' argument. Let’s remember it for the future :) -- ___ Python tracker

[issue12240] Allow multiple setup_hooks

2011-06-20 Thread Erik Bray
Erik Bray erik.m.b...@gmail.com added the comment: Good to know! The majority of my development is still on 2.x so it's easy to forget things like that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12240

[issue12240] Allow multiple setup_hooks

2011-06-11 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 5f0cd4844061 by Éric Araujo in branch 'default': Allow multiple setup hooks in packaging’s setup.cfg files (#12240). http://hg.python.org/cpython/rev/5f0cd4844061 -- nosy: +python-dev ___

[issue12240] Allow multiple setup_hooks

2011-06-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Done. -- assignee: tarek - eric.araujo resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12240

[issue12240] Allow multiple setup_hooks

2011-06-09 Thread Erik Bray
Erik Bray erik.m.b...@gmail.com added the comment: Here's an update with tests. It should be applied after my patch for issue11595. -- Added file: http://bugs.python.org/file22299/python_issue12240-2.patch ___ Python tracker rep...@bugs.python.org

[issue12240] Allow multiple setup_hooks

2011-06-06 Thread Erik Bray
Erik Bray erik.m.b...@gmail.com added the comment: Adds support for multiple setup_hooks and updates the docs. For now I left the option name as setup_hook, though it might make sense to rename it to setup_hooks for consistency's sake. -- keywords: +patch Added file:

[issue12240] Allow multiple setup_hooks

2011-06-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I can’t see why not. Would you like to work on a patch? -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12240 ___

[issue12240] Allow multiple setup_hooks

2011-06-03 Thread Erik Bray
Erik Bray erik.m.b...@gmail.com added the comment: Great! I'll add a patch shortly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12240 ___

[issue12240] Allow multiple setup_hooks

2011-06-02 Thread Erik Bray
New submission from Erik Bray erik.m.b...@gmail.com: I have a use case where I have a small library of setup_hook functions for various purposes that are used by multiple projects. Some projects may want to use more than one of these setup_hooks. I can certainly create a wrapper hook for