docs: remove build crap from sdist with manifest.in

This commit is contained in:
Ville M. Vainio 2008-05-22 21:57:52 +03:00
parent 1e114fb69e
commit 16cc23ec97

View File

@ -52,15 +52,10 @@ if len(sys.argv) >= 2 and sys.argv[1] in ('sdist','bdist_rpm'):
# target_update()
def oscmd(s):
cwd = os.getcwd()
for l in textwrap.dedent(s).splitlines():
print ">", l.strip()
os.system(l.strip())
print ">", s
os.system(s)
os.chdir(cwd)
oscmd("""\
cd doc && python do_sphinx.py""")
oscmd("cd doc && python do_sphinx.py")
oscmd("cd doc && gzip -9c ipython.1 > ipython.1.gz")
oscmd("cd doc && gzip -9c pycolor.1 > pycolor.1.gz")