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.).
This commit is contained in:
Mitchell Stokes 2018-05-06 13:06:29 -07:00
parent d9885e4f1b
commit 0253a7a29f
1 changed files with 0 additions and 7 deletions

View File

@ -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)