mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Allow multiple setup hooks in packaging’s setup.cfg files (#12240).
Original patch by Erik Bray.
This commit is contained in:
parent
8474f2901b
commit
643cb7345f
5 changed files with 61 additions and 31 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue