浏览代码

dist: Fix bdist_apps regression as of 88d27aa31c1eeb7d48cc468ed23a4ed18a8922f9

rdb 2 年之前
父节点
当前提交
e582436719
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      direct/src/dist/commands.py

+ 2 - 0
direct/src/dist/commands.py

@@ -1689,6 +1689,8 @@ class bdist_apps(setuptools.Command):
             setattr(self, opt, None)
 
     def finalize_options(self):
+        import pkg_resources
+
         # We need to massage the inputs a bit in case they came from a
         # setup.cfg file.
         self.installers = {