Transfert the distutil.ext from the org.asm project

This commit is contained in:
2015-08-27 16:12:19 -04:00
parent 3b7536c0df
commit a6395ebaf2
19 changed files with 211 additions and 84 deletions

View File

@ -28,6 +28,10 @@ class build_files(Command):
self.files = {}
def run(self):
for cmd_name in self.get_sub_commands():
self.run_command(cmd_name)
for dest,prog,command in self.distribution.files:
destfile = os.path.join(self.build_temp,dest)
@ -48,6 +52,12 @@ class build_files(Command):
log.info("Done.\n")
def has_ctools(self):
return self.distribution.has_ctools()
sub_commands = [('build_ctools', has_ctools)] + \
Command.sub_commands