You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
396 B
13 lines
396 B
6 months ago
|
from distutils.command.bdist import bdist
|
||
|
import sys
|
||
|
|
||
|
if 'egg' not in bdist.format_commands:
|
||
|
try:
|
||
|
bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file")
|
||
|
except TypeError:
|
||
|
# For backward compatibility with older distutils (stdlib)
|
||
|
bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
|
||
|
bdist.format_commands.append('egg')
|
||
|
|
||
|
del bdist, sys
|