Forráskód Böngészése

deploy-ng:Fix parsing bdist_apps.installers from setup.cfg

Mitchell Stokes 7 éve
szülő
commit
d9885e4f1b
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      direct/src/showutil/dist.py

+ 4 - 1
direct/src/showutil/dist.py

@@ -1028,7 +1028,10 @@ class bdist_apps(setuptools.Command):
     def finalize_options(self):
     def finalize_options(self):
         # We need to massage the inputs a bit in case they came from a
         # We need to massage the inputs a bit in case they came from a
         # setup.cfg file.
         # setup.cfg file.
-        self.installers = _parse_dict(self.installers)
+        self.installers = {
+            key: _parse_list(value)
+            for key, value in _parse_dict(self.installers).items()
+        }
 
 
     def run(self):
     def run(self):
         build_cmd = self.get_finalized_command('build_apps')
         build_cmd = self.get_finalized_command('build_apps')