@@ -85,9 +85,9 @@ class bdist_egg(Command):
8585 def initialize_options (self ):
8686 self .bdist_dir = None
8787 self .plat_name = None
88- self .keep_temp = 0
88+ self .keep_temp = False
8989 self .dist_dir = None
90- self .skip_build = 0
90+ self .skip_build = False
9191 self .egg_output = None
9292 self .exclude_source_files = None
9393
@@ -136,7 +136,7 @@ def do_install_data(self):
136136
137137 try :
138138 log .info ("installing package data to %s" , self .bdist_dir )
139- self .call_command ('install_data' , force = 0 , root = None )
139+ self .call_command ('install_data' , force = False , root = None )
140140 finally :
141141 self .distribution .data_files = old
142142
@@ -164,7 +164,7 @@ def run(self): # noqa: C901 # is too complex (14) # FIXME
164164 instcmd .root = None
165165 if self .distribution .has_c_libraries () and not self .skip_build :
166166 self .run_command ('build_clib' )
167- cmd = self .call_command ('install_lib' , warn_dir = 0 )
167+ cmd = self .call_command ('install_lib' , warn_dir = False )
168168 instcmd .root = old_root
169169
170170 all_outputs , ext_outputs = self .get_ext_outputs ()
@@ -192,7 +192,7 @@ def run(self): # noqa: C901 # is too complex (14) # FIXME
192192 if self .distribution .scripts :
193193 script_dir = os .path .join (egg_info , 'scripts' )
194194 log .info ("installing scripts to %s" , script_dir )
195- self .call_command ('install_scripts' , install_dir = script_dir , no_ep = 1 )
195+ self .call_command ('install_scripts' , install_dir = script_dir , no_ep = True )
196196
197197 self .copy_metadata_to (egg_info )
198198 native_libs = os .path .join (egg_info , "native_libs.txt" )
@@ -427,7 +427,9 @@ def can_scan():
427427INSTALL_DIRECTORY_ATTRS = ['install_lib' , 'install_dir' , 'install_data' , 'install_base' ]
428428
429429
430- def make_zipfile (zip_filename , base_dir , verbose = 0 , dry_run = 0 , compress = True , mode = 'w' ):
430+ def make_zipfile (
431+ zip_filename , base_dir , verbose = False , dry_run = False , compress = True , mode = 'w'
432+ ):
431433 """Create a zip file from all the files under 'base_dir'. The output
432434 zip file will be named 'base_dir' + ".zip". Uses either the "zipfile"
433435 Python module (if available) or the InfoZIP "zip" utility (if installed
0 commit comments