|
@@ -8,9 +8,9 @@ import os |
|
|
class my_build(build): |
|
|
class my_build(build): |
|
|
def run(self): |
|
|
def run(self): |
|
|
build.run(self) |
|
|
build.run(self) |
|
|
if not self.dry_run: |
|
|
|
|
|
os.spawnlp(os.P_WAIT, 'sh', 'sh', '-c', 'cd .. && gmake lib') |
|
|
|
|
|
self.copy_file(os.path.join('..', 'build', 'lib', 'libdecaf.so'), os.path.join(self.build_lib, 'edgold')) |
|
|
|
|
|
|
|
|
if not self.dry_run: |
|
|
|
|
|
os.spawnlp(os.P_WAIT, 'sh', 'sh', '-c', 'cd .. && gmake lib') |
|
|
|
|
|
self.copy_file(os.path.join('..', 'build', 'lib', 'libdecaf.so'), os.path.join(self.build_lib, 'edgold')) |
|
|
|
|
|
|
|
|
cmdclass = {} |
|
|
cmdclass = {} |
|
|
cmdclass['build'] = my_build |
|
|
cmdclass['build'] = my_build |
|
|