summaryrefslogtreecommitdiff
path: root/scripts/builder/backends/pythonBuilder.py
authorGiulio Cesare Solaroli <giulio.cesare@clipperz.com>2012-02-11 23:34:25 (UTC)
committer Giulio Cesare Solaroli <giulio.cesare@clipperz.com>2012-02-11 23:34:25 (UTC)
commit185949cb778dd13a566781bbfa8ef7ed344cc705 (patch) (side-by-side diff)
tree8fc4ff8cf1efead7610e4141041dd440eb9febbd /scripts/builder/backends/pythonBuilder.py
parent17efce23d9f205f56f5ebbe8e4f4ca581ea47bcb (diff)
downloadclipperz-185949cb778dd13a566781bbfa8ef7ed344cc705.zip
clipperz-185949cb778dd13a566781bbfa8ef7ed344cc705.tar.gz
clipperz-185949cb778dd13a566781bbfa8ef7ed344cc705.tar.bz2
Improved build scripts
Signed-off-by: Giulio Cesare Solaroli <giulio.cesare@clipperz.com>
Diffstat (limited to 'scripts/builder/backends/pythonBuilder.py') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/builder/backends/pythonBuilder.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/builder/backends/pythonBuilder.py b/scripts/builder/backends/pythonBuilder.py
new file mode 100644
index 0000000..1e44209
--- a/dev/null
+++ b/scripts/builder/backends/pythonBuilder.py
@@ -0,0 +1,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)