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:
parent
d9885e4f1b
commit
0253a7a29f
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue