Browse Source

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 7 years ago
parent
commit
0253a7a29f
1 changed files with 0 additions and 7 deletions
  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)
                     shutil.rmtree(temp_dir)
                 else:
                 else:
                     self.announce('\tUnknown installer: {}'.format(installer), distutils.log.ERROR)
                     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)