Transfert the distutil.ext from the org.asm project
This commit is contained in:
@ -4,10 +4,11 @@ Created on 20 oct. 2012
|
||||
@author: coissac
|
||||
'''
|
||||
|
||||
from obidistutils.command.build_ctools import build_ctools
|
||||
from .build_ctools import build_ctools
|
||||
from .build_exe import build_exe
|
||||
from distutils.errors import DistutilsSetupError
|
||||
from distutils import log
|
||||
|
||||
import os
|
||||
|
||||
class build_cexe(build_ctools):
|
||||
|
||||
@ -38,7 +39,9 @@ class build_cexe(build_ctools):
|
||||
self.set_undefined_options('build_files',
|
||||
('files', 'built_files'))
|
||||
|
||||
self.executables = self.distribution.executables
|
||||
self.executables = self.distribution.executables
|
||||
# self.build_cexe = os.path.join(os.path.dirname(self.build_cexe),'cbinaries')
|
||||
# self.mkpath(self.build_cexe)
|
||||
|
||||
if self.executables:
|
||||
self.check_executable_list(self.executables)
|
||||
@ -70,4 +73,13 @@ class build_cexe(build_ctools):
|
||||
log.info("%s ok",message)
|
||||
|
||||
return sources
|
||||
|
||||
|
||||
def run(self):
|
||||
|
||||
for cmd_name in self.get_sub_commands():
|
||||
self.run_command(cmd_name)
|
||||
|
||||
build_exe.run(self)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user