##// END OF EJS Templates
docs: remove build crap from sdist with manifest.in
Ville M. Vainio -
Show More
@@ -22,6 +22,12 b' exclude doc/manual/*.log'
22 exclude doc/manual/*.out
22 exclude doc/manual/*.out
23 exclude doc/manual/*.pl
23 exclude doc/manual/*.pl
24 exclude doc/manual/*.tex
24 exclude doc/manual/*.tex
25 exclude doc/build/doctrees/*
26 exclude doc/build/latex/*
27 exclude doc/build/html/_sources/*
28
29
30
25
31
26 global-exclude *~
32 global-exclude *~
27 global-exclude *.flc
33 global-exclude *.flc
@@ -52,15 +52,10 b" if len(sys.argv) >= 2 and sys.argv[1] in ('sdist','bdist_rpm'):"
52 # target_update()
52 # target_update()
53
53
54 def oscmd(s):
54 def oscmd(s):
55 cwd = os.getcwd()
55 print ">", s
56 for l in textwrap.dedent(s).splitlines():
56 os.system(s)
57 print ">", l.strip()
58 os.system(l.strip())
59
57
60 os.chdir(cwd)
58 oscmd("cd doc && python do_sphinx.py")
61
62 oscmd("""\
63 cd doc && python do_sphinx.py""")
64
59
65 oscmd("cd doc && gzip -9c ipython.1 > ipython.1.gz")
60 oscmd("cd doc && gzip -9c ipython.1 > ipython.1.gz")
66 oscmd("cd doc && gzip -9c pycolor.1 > pycolor.1.gz")
61 oscmd("cd doc && gzip -9c pycolor.1 > pycolor.1.gz")
General Comments 0
You need to be logged in to leave comments. Login now