blob: 1e442097954377e75a5f351ec3455511458aee7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from scriptLanguageBuilder import ScriptLanguageBuilder
class PythonBuilder(ScriptLanguageBuilder):
def name(self):
return "Python builder"
def relativePath(self):
return 'python'
def compileCode (self):
src = self.sourceFolder()
dst = self.targetFolder()
shutil.copytree(src, dst)
# def copyCompiledCodeToTargetDir (self):
# src = self.sourceFolder()
# dst = self.targetFolder()
#
# shutil.copytree(src, dst)
|