Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > c05cd2a7cb704895abc0e1550ad70a75 > files > 3

ipython-0.10-1mdv2010.0.src.rpm

--- setupbase.py.bak	2009-08-12 15:15:53.000000000 -0400
+++ setupbase.py	2009-08-12 15:16:58.000000000 -0400
@@ -192,6 +192,11 @@
 
     # Simple file lists can be made by hand
     manpages  = filter(isfile, glob('docs/man/*.1.gz'))
+    import re
+    for f in manpages:
+        os.system('gunzip ' + f + '; lzma -z ' + re.sub('\.gz$','',f))
+    manpages = filter(isfile,glob('docs/man/*.1.lzma'))    
+
     igridhelpfiles = filter(isfile, glob('IPython/Extensions/igrid_help.*'))
 
     # For nested structures, use the utility above