[xiph-cvs] cvs commit: positron MANIFEST.in setup.py

Stan Seibert volsung at xiph.org
Wed May 28 15:18:01 PDT 2003



volsung     03/05/28 18:18:01

  Modified:    .        MANIFEST.in setup.py
  Log:
  Okay, I think this should work on a RedHat box.  It does not work on
  Mandrake because they bzip2 their manpages instead of gzip them, so
  bdist_rpm converts positron.1.gz to positron.1.bz2 and then dies because
  the installed files don't match up.  All I have to say is: %*&*(!!

Revision  Changes    Path
1.5       +1 -0      positron/MANIFEST.in

Index: MANIFEST.in
===================================================================
RCS file: /usr/local/cvsroot/positron/MANIFEST.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MANIFEST.in	28 May 2003 16:12:24 -0000	1.4
+++ MANIFEST.in	28 May 2003 22:18:01 -0000	1.5
@@ -5,4 +5,5 @@
 graft setupext
 graft doc
 graft debian
+exclude doc/*.1
 global-exclude *.pyc

<p><p>1.11      +7 -5      positron/setup.py

Index: setup.py
===================================================================
RCS file: /usr/local/cvsroot/positron/setup.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- setup.py	28 May 2003 18:00:01 -0000	1.10
+++ setup.py	28 May 2003 22:18:01 -0000	1.11
@@ -22,11 +22,13 @@
 from distutils.core import setup
 from setupext import install_data_ext
 
-docdirbase = 'share/doc/positron'
+# FIXME: Jack!  Save me from the distutils monster!
+docdirbase  = 'share/doc/positron-1.0b2'
 manpagebase = 'share/man/man1'
-docfiles = filter(isfile, glob('doc/*.html')) + \
-           filter(isfile, glob('doc/*.png')) + ['README', 'COPYING']
-examfiles = filter(isfile, glob('doc/examples/*'))
+docfiles    = filter(isfile, glob('doc/*.html')) + \
+              filter(isfile, glob('doc/*.png')) + ['README', 'COPYING']
+manpages    = filter(isfile, glob('doc/*.1.gz'))
+examfiles   = filter(isfile, glob('doc/examples/*'))
 
 setup(name="positron",
       version="1.0b2",
@@ -41,7 +43,7 @@
       cmdclass = {'install_data': install_data_ext},
       data_files = [('data', docdirbase, docfiles),
                     ('data', os.path.join(docdirbase, 'examples'), examfiles),
-                    ('data', manpagebase, ['doc/positron.1'])]
+                    ('data', manpagebase, manpages)]
       )
 
 

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list