From 0253a7a29f915d84dd03ca9b3d550dcd4e6e6e59 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sun, 6 May 2018 13:06:29 -0700 Subject: [PATCH] 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.). --- direct/src/showutil/dist.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index 80f898cc54..e4bb44448a 100644 --- a/direct/src/showutil/dist.py +++ b/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)