From 16cc23ec97f2e7169b7daefede9a69bcbfff3a73 Mon Sep 17 00:00:00 2001 From: "Ville M. Vainio" Date: Thu, 22 May 2008 21:57:52 +0300 Subject: [PATCH] docs: remove build crap from sdist with manifest.in --- setup.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index d01b27bc1..65944b3b9 100755 --- a/setup.py +++ b/setup.py @@ -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")