Allow multiple setup hooks in packaging’s setup.cfg files (#12240).

Original patch by Erik Bray.
This commit is contained in:
Éric Araujo 2011-06-11 00:33:38 +02:00
parent 8474f2901b
commit 643cb7345f
5 changed files with 61 additions and 31 deletions

View file

@ -495,7 +495,7 @@ class UtilTestCase(support.EnvironRestorer,
def test_cfg_to_args(self):
opts = {'description-file': 'README', 'extra-files': '',
'setup-hook': 'packaging.tests.test_config.hook'}
'setup-hooks': 'packaging.tests.test_config.version_hook'}
self.write_file('setup.cfg', SETUP_CFG % opts)
self.write_file('README', 'loooong description')