mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
11 lines
254 B
Python
11 lines
254 B
Python
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
from distutils.command.bdist import bdist
|
|
|
|
if 'egg' not in bdist.format_commands:
|
|
bdist.format_command['egg'] = ('bdist_egg', 'Python .egg file')
|
|
bdist.format_commands.append('egg')
|
|
|
|
del bdist, sys
|