1
2
3
4
5 from lib.common.abstracts import Package
6
8 """Python analysis package."""
9
10 PATHS = [
11 ("HomeDrive", "Python24", "python.exe"),
12 ("HomeDrive", "Python25", "python.exe"),
13 ("HomeDrive", "Python26", "python.exe"),
14 ("HomeDrive", "Python27", "python.exe"),
15 ("HomeDrive", "Python32", "python.exe"),
16 ("HomeDrive", "Python33", "python.exe"),
17 ("HomeDrive", "Python34", "python.exe"),
18 ]
19
21 python = self.get_path("Python")
22 arguments = self.options.get("arguments", "")
23 return self.execute(python, "%s %s" % (path, arguments))
24