Quellcode durchsuchen

deploy-ng: Remove dist.setup()

This was a hack used by installation methods that did not support
registering new commands correctly. The commands should now work
regardless of installation method (wheel, deb, NSIS installer, etc.).
Mitchell Stokes vor 7 Jahren
Ursprung
Commit
0253a7a29f
1 geänderte Dateien mit 0 neuen und 7 gelöschten Zeilen
  1. 0 7
      direct/src/showutil/dist.py

+ 0 - 7
direct/src/showutil/dist.py

@@ -1064,10 +1064,3 @@ class bdist_apps(setuptools.Command):
                     shutil.rmtree(temp_dir)
                 else:
                     self.announce('\tUnknown installer: {}'.format(installer), distutils.log.ERROR)
-
-
-def setup(**attrs):
-    commandClasses = attrs.setdefault("cmdclass", {})
-    commandClasses['build_apps'] = build_apps
-    commandClasses['bdist_apps'] = bdist_apps
-    distutils.core.setup(**attrs)