[xiph-cvs] cvs commit: ogg-python/src _oggmodule.c

Andrew Catham Master of Python andrew at xiph.org
Sat Jan 18 16:50:15 PST 2003



andrew      03/01/18 19:50:15

  Modified:    .        ChangeLog setup.py
               src      _oggmodule.c
  Log:
  2003-1-18   Andrew H. Chatham <pyogg at andrewchatham.com>
          * Applied a patch from Nicodemus <nicodemus at globalite.com.br> to
          get this to build on windows.

Revision  Changes    Path
1.14      +4 -0      ogg-python/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/ogg-python/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	25 Sep 2002 05:50:08 -0000	1.13
+++ ChangeLog	19 Jan 2003 00:50:15 -0000	1.14
@@ -1,3 +1,7 @@
+2003-1-18   Andrew H. Chatham <pyogg at andrewchatham.com>
+	* Applied a patch from Nicodemus <nicodemus at globalite.com.br> to 
+	get this to build on windows.
+	
 2002-9-24   Andrew H. Chatham <pyogg at andrewchatham.com>
         * setup.py: fixed regular expression
         

<p><p>1.7       +3 -3      ogg-python/setup.py

Index: setup.py
===================================================================
RCS file: /usr/local/cvsroot/ogg-python/setup.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- setup.py	25 Sep 2002 05:50:08 -0000	1.6
+++ setup.py	19 Jan 2003 00:50:15 -0000	1.7
@@ -11,7 +11,7 @@
 from distutils.extension import Extension
 
 VERSION_MAJOR = 1
-VERSION_MINOR = 0
+VERSION_MINOR = 2
 pyogg_version = str(VERSION_MAJOR) + "." + str(VERSION_MINOR)
 
 def get_setup():
@@ -40,7 +40,7 @@
 ogg_lib_dir = data['ogg_lib_dir']
 ogg_libs = string.split(data['ogg_libs'])
 
-_oggmodule = Extension(name='_oggmodule',
+_oggmodule = Extension(name='_ogg',
                        sources=['src/_oggmodule.c',
                                 'src/pyoggpacket.c',
                                 'src/pyoggstreamstate.c',
@@ -54,7 +54,7 @@
                        
                        include_dirs=[ogg_include_dir, 'include'],
                        library_dirs=[ogg_lib_dir],
-                       libraries=['ogg'])
+                       libraries=ogg_libs)
 
 setup ( name = "pyogg",
         version = pyogg_version,

<p><p>1.7       +1 -1      ogg-python/src/_oggmodule.c

Index: _oggmodule.c
===================================================================
RCS file: /usr/local/cvsroot/ogg-python/src/_oggmodule.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- _oggmodule.c	18 Feb 2002 01:19:02 -0000	1.6
+++ _oggmodule.c	19 Jan 2003 00:50:15 -0000	1.7
@@ -54,7 +54,7 @@
   PyDict_SetItemString(dict, "_moduleinfo", Py_module_info);
 
   PyDict_SetItemString(dict, "__doc__", PyString_FromString(docstring));
-  PyDict_SetItemString(dict, "__version__", PyString_FromString(VERSION));
+  PyDict_SetItemString(dict, "__version__", PyString_FromString("1.2"));
 
   if (PyErr_Occurred())
     PyErr_SetString(PyExc_ImportError, "_ogg: init failed");

<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