1
2 if __name__ == '__main__':
3
4 import os
5
6 os.system('python ../../bin/doconce insertdocstr plain . ')
7
8
9 os.system('zip -r shpinx_themes.zip sphinx_themes')
10
11
12 os.chdir(os.path.join(os.pardir, os.pardir))
13 thisdir = os.getcwd()
14 os.chdir(os.path.join('lib', 'doconce', 'docstrings'))
15 failure = os.system('sh ./clean.sh')
16 if failure:
17 print 'Could not run clean.sh in', os.getcwd()
18 os.chdir(thisdir)
19 os.chdir(os.path.join('doc', 'tutorial'))
20 failure = os.system('sh ./clean.sh')
21 if failure:
22 print 'Could not run clean.sh in', os.getcwd()
23 os.chdir(thisdir)
24 os.chdir(os.path.join('doc', 'manual'))
25 failure = os.system('sh ./clean.sh')
26 if failure:
27 print 'Could not run clean.sh in', os.getcwd()
28 os.chdir(thisdir)
29 os.chdir('test')
30 failure = os.system('sh ./clean.sh')
31 if failure:
32 print 'Could not run clean.sh in', os.getcwd()
33 os.chdir(thisdir)
34