Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/setuptools/command/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1import sys 

2 

3from distutils.command.bdist import bdist 

4 

5if 'egg' not in bdist.format_commands: 

6 try: 

7 bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file") 

8 except TypeError: 

9 # For backward compatibility with older distutils (stdlib) 

10 bdist.format_command['egg'] = ('bdist_egg', "Python .egg file") 

11 bdist.format_commands.append('egg') 

12 

13del bdist, sys