author | Antonio Lima <anto87@gmail.com> | 2011-10-05 08:24:32 (UTC) |
---|---|---|
committer | Antonio Lima <anto87@gmail.com> | 2011-10-05 08:24:32 (UTC) |
commit | 2a98e81b954ab84efc8d3f4e1d837bf190f77d7d (patch) (unidiff) | |
tree | 8aa49a97a01d40737fbd8fa5c1f519f7a26d607b /scripts/builder/frontendBuilder.py | |
parent | 3065be1b71e4c40428cfa192de560c970ba7f8b3 (diff) | |
download | clipperz-2a98e81b954ab84efc8d3f4e1d837bf190f77d7d.zip clipperz-2a98e81b954ab84efc8d3f4e1d837bf190f77d7d.tar.gz clipperz-2a98e81b954ab84efc8d3f4e1d837bf190f77d7d.tar.bz2 |
Fixing python path of builder scripts for environment support
Diffstat (limited to 'scripts/builder/frontendBuilder.py') (more/less context) (ignore whitespace changes)
-rw-r--r-- | scripts/builder/frontendBuilder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/builder/frontendBuilder.py b/scripts/builder/frontendBuilder.py index b796438..55054ee 100644 --- a/scripts/builder/frontendBuilder.py +++ b/scripts/builder/frontendBuilder.py | |||
@@ -1,25 +1,25 @@ | |||
1 | #!/usr/bin/python | 1 | #!/usr/bin/env python |
2 | # -*- coding: UTF-8 -*- | 2 | # -*- coding: UTF-8 -*- |
3 | 3 | ||
4 | import sys, os, re | 4 | import sys, os, re |
5 | import cssmin | 5 | import cssmin |
6 | import jsmin | 6 | import jsmin |
7 | import codecs | 7 | import codecs |
8 | import shutil | 8 | import shutil |
9 | import StringIO | 9 | import StringIO |
10 | import urllib | 10 | import urllib |
11 | 11 | ||
12 | #from mercurial import ui, hg | 12 | #from mercurial import ui, hg |
13 | #from mercurial.node import hex | 13 | #from mercurial.node import hex |
14 | from dulwich.repo import Repo | 14 | from dulwich.repo import Repo |
15 | 15 | ||
16 | import main | 16 | import main |
17 | 17 | ||
18 | 18 | ||
19 | 19 | ||
20 | class FrontendBuilder: | 20 | class FrontendBuilder: |
21 | 21 | ||
22 | def __init__ (self, frontend, settings): | 22 | def __init__ (self, frontend, settings): |
23 | if '.' in frontend: | 23 | if '.' in frontend: |
24 | moduleComponents = frontend.split('.') | 24 | moduleComponents = frontend.split('.') |
25 | self.module = moduleComponents[0] | 25 | self.module = moduleComponents[0] |