This setup.py work for me running w2k python2.2 and msvc 6
to work well mci.c should also be modified in order to
include
Python.h instead of C:\Program\Python20\Python.h
setup (# Distribution meta-data
name = "CDDB",
version = "1.3",
description = "Module for retrieving track
information about audio CDs from CDDB",
author = "Ben Gertzfield",
author_email = "che@debian.org",
url = "http://csl.cse.ucsc.edu/~ben/python/",
# Description of the modules and packages in the
distribution
package_dir = {'': 'win32'},
py_modules = ['CDDB', 'DiscID', 'cdrom'],
ext_modules = [ Extension('mci',
sources=['win32/mci.c'], libraries=['Winmm']) ],
# data_files = [('', ['win32/mci.dll'])]
)
Vivian.
PS: using os.name we can imagine to have only one setup file
for all os.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
cool vivian,
but where can i fetch the files?
dan
Logged In: YES
user_id=511447
Sorry to be so slow. I'am at work and I keep forgetting to
bring back the file from home. I will send it to you very
soon (hopefully this evening).
Cheers,
Vivian De Smedt.
setup file for win32 platform.
Logged In: YES
user_id=511447
Again I will try to attach the file. Otherwise you will find
it following these lines:
#!/usr/bin/env python
"""Setup script for the CDDB module distribution under Win32."""
__revision__ = "$Id: setup-win32.py,v 1.1 2001/03/10
22:34:03 che_fox Exp $"
from distutils.core import setup, Extension
setup (# Distribution meta-data
name = "CDDB",
version = "1.3",
description = "Module for retrieving track
information about audio CDs from CDDB",
author = "Ben Gertzfield",
author_email = "che@debian.org",
url = "http://csl.cse.ucsc.edu/~ben/python/",
# Description of the modules and packages in the
distribution
package_dir = {'': 'win32'},
py_modules = ['CDDB', 'DiscID', 'cdrom'],
ext_modules = [ Extension('mci',
sources=['win32/mci.c'], libraries=['Winmm']) ],
# data_files = [('', ['win32/mci.dll'])]
)
Vivian.
PS: using os.name we can imagine to have only one setup file
for all os.