Line | |
---|
1 | |
---|
2 | # -*- coding: iso-8859-1 -*- |
---|
3 | |
---|
4 | import os |
---|
5 | import sys |
---|
6 | import string |
---|
7 | import popen2 |
---|
8 | import stat |
---|
9 | import re |
---|
10 | from os import path |
---|
11 | #from optparse import OptionParser |
---|
12 | import tempfile |
---|
13 | import cmt |
---|
14 | import time |
---|
15 | |
---|
16 | #---------------------------------------------------- |
---|
17 | # Main |
---|
18 | #---------------------------------------------------- |
---|
19 | def main (): |
---|
20 | |
---|
21 | print time.strftime ('%c') |
---|
22 | |
---|
23 | pwd = os.getcwd () |
---|
24 | |
---|
25 | CMT = cmt.cmt () |
---|
26 | |
---|
27 | pack = CMT.macro_value ('package') |
---|
28 | print 'package=' + pack |
---|
29 | |
---|
30 | if __name__ == '__main__': |
---|
31 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.