~ubuntu-branches/ubuntu/trusty/pyalsaaudio/trusty

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2010-01-29 19:52:21 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100129195221-l6y4xmauznm77dl3
Tags: 0.5+svn36-1ubuntu1
* Merge from debian testing (LP: #514453, #331171), remaining changes:
  - Call setup.py install with --root= --install-layout=deb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
'''This package contains wrappers for accessing the ALSA API from Python.
 
4
It is fairly complete for PCM devices and Mixer access.
 
5
'''
 
6
 
1
7
from distutils.core import setup
2
8
from distutils.extension import Extension
 
9
from sys import version
3
10
 
 
11
# patch distutils if it's too old to cope with the "classifiers" or
 
12
# "download_url" keywords
 
13
from sys import version
 
14
if version < '2.2.3':
 
15
    from distutils.dist import DistributionMetadata
 
16
    DistributionMetadata.classifiers = None
 
17
    DistributionMetadata.download_url = None
 
18
    
4
19
setup(
5
 
    name = "alsaaudio",
6
 
    version = "0.1",
7
 
    description = "alsa bindings",
8
 
    author = "Casper Wilstrup",
9
 
    author_email="cwi@unispeed.com",
10
 
    ext_modules=[Extension("alsaaudio",["alsaaudio.c"],libraries=['asound'])
11
 
                 ]
 
20
    name = 'pyalsaaudio',
 
21
    version = '0.5',
 
22
    description = 'ALSA bindings',
 
23
    long_description = __doc__,
 
24
    author = 'Casper Wilstrup',
 
25
    author_email='cwi@aves.dk',
 
26
    maintainer = 'Lars Immisch',
 
27
    maintainer_email = 'lars@ibp.de',
 
28
    license='PSF',
 
29
    platforms=['posix'],
 
30
    url='http://pyalsaaudio.sourceforge.net/',
 
31
    classifiers = [
 
32
    'Development Status :: 4 - Beta',
 
33
    'Intended Audience :: Developers',
 
34
    'License :: OSI Approved :: Python Software Foundation License',
 
35
    'Operating System :: POSIX :: Linux',
 
36
    'Programming Language :: Python :: 2',
 
37
    'Programming Language :: Python :: 3',    
 
38
    'Topic :: Multimedia :: Sound/Audio',
 
39
    'Topic :: Multimedia :: Sound/Audio :: Mixers',
 
40
    'Topic :: Multimedia :: Sound/Audio :: Players',
 
41
    'Topic :: Multimedia :: Sound/Audio :: Capture/Recording',
 
42
    ],
 
43
    ext_modules=[Extension('alsaaudio',['alsaaudio.c'], libraries=['asound'])]
12
44
    )
13
 
    
14