Menu

#1 improved setup_win32.py

open
nobody
None
5
2003-03-15
2003-03-15
No

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

Vivian.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    cool vivian,
    but where can i fetch the files?
    dan

     
  • Vivian De Smedt

    Vivian De Smedt - 2003-04-16

    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.

     
  • Vivian De Smedt

    Vivian De Smedt - 2003-04-16

    setup file for win32 platform.

     
  • Vivian De Smedt

    Vivian De Smedt - 2003-04-16

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.