/usr/share/pyshared/doconce/_update.py is in doconce 0.7.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/usr/bin/env python
if __name__ == '__main__':
# (important to not execute anything for epydoc)
import os
# the insertdocstr script is part of the Doconce package
os.system('python ../../bin/doconce insertdocstr plain . ')
# pack sphinx_themes.zip
os.system('zip -r shpinx_themes.zip sphinx_themes')
# remove files that are to be regenerated:
os.chdir(os.path.join(os.pardir, os.pardir))
thisdir = os.getcwd()
os.chdir(os.path.join('lib', 'doconce', 'docstrings'))
failure = os.system('sh ./clean.sh')
if failure:
print 'Could not run clean.sh in', os.getcwd()
os.chdir(thisdir)
os.chdir(os.path.join('doc', 'tutorial'))
failure = os.system('sh ./clean.sh')
if failure:
print 'Could not run clean.sh in', os.getcwd()
os.chdir(thisdir)
os.chdir(os.path.join('doc', 'manual'))
failure = os.system('sh ./clean.sh')
if failure:
print 'Could not run clean.sh in', os.getcwd()
os.chdir(thisdir)
os.chdir('test')
failure = os.system('sh ./clean.sh')
if failure:
print 'Could not run clean.sh in', os.getcwd()
os.chdir(thisdir)
|