~ubuntu-branches/ubuntu/intrepid/comedilib/intrepid

« back to all changes in this revision

Viewing changes to swig/python/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): David Schleef
  • Date: 2004-11-04 11:43:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041104114351-a50kaei5yamka8r6
Tags: 0.7.22-2
It helps if the shared library is actually in the package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from distutils.core import setup, Extension
 
2
 
 
3
module1 = Extension('_comedi',
 
4
                        define_macros = [('MAJOR_VERSION','0'),
 
5
                                        ('MINOR_VERSION','1')],
 
6
                        include_dirs = ['../include'],
 
7
                        library_dirs = ['../lib'],
 
8
                        libraries = ['comedi'],
 
9
                        sources = ['comedi_wrap.c'])
 
10
                        
 
11
setup (name='_comedi',
 
12
        version = '0.1',
 
13
        description = 'Python wrapper module for the Comedi data-acquisition drivers',
 
14
        author = 'Bryan E. Cole',
 
15
        author_email = 'bryan.cole@teraview.co.uk',
 
16
        long_description = ''' Wrapper for the Comedi data-acquisition library ''',
 
17
        ext_modules = [module1])