summaryrefslogtreecommitdiff
path: root/e/lib/python3.11/site-packages/setuptools/command/__init__.py
blob: 5acd7687d642f06de84b38f5842c41ae14d5f24a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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