Compare commits

..

6 Commits

Author SHA1 Message Date
Lars Immisch 5cbc88607d We can get the version from git for pip installs. Fixes #3
Maybe we should tag from setup.py instead
2015-05-16 13:44:50 +02:00
Lars Immisch 0fb8b1d9f3 Prepare 0.8.1 2015-05-14 13:28:14 +02:00
Lars Immisch 3cb51bdf90 Correct capitalization 2015-05-14 01:42:13 +02:00
Lars Immisch 6e96f8556c Inclide MANIFEST/dist/ 2015-05-14 01:38:44 +02:00
Lars Immisch fddd239be1 Add link 2015-05-14 01:37:51 +02:00
Lars Immisch 8950de75bf Document 0.8 changes 2015-05-14 01:32:42 +02:00
4 changed files with 40 additions and 12 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
*.pyc
*.so
MANIFEST
doc/gh-pages/
doc/html/
doc/doctrees/
gh-pages/
build/
build/
dist/
+33 -2
View File
@@ -1,9 +1,40 @@
Version 0.8.2:
- fix #3 (we cannot get the revision from git for pip installs)
Version 0.8.1:
- document changes (this file)
Version 0.8:
- 'PCM()' has new 'device' and 'cardindex' keyword arguments.
The keyword 'device' allows to select virtual devices, 'cardindex' can be
used to select hardware cards by index (as with 'mixers()' and 'Mixer()').
The 'card' keyword argument is still supported, but deprecated.
The reason for this change is that the 'card' keyword argument guessed
a device name from the card name, but this only works sometimes, and breaks
opening virtual devices.
- new function 'pcms()' to list available PCM devices.
- mixers() and Mixer() take an additional 'device' keyword argument.
This allows to list or open virtual devices.
- The default behaviour of Mixer() without any arguments has changed.
Now Mixer() will try to open the 'default' Mixer instead of the Mixer
that is associated with card 0.
- fix a memory leak under Python 3.x
- some more memory leaks in error conditions fixed.
Version 0.7:
- fixed several memory leaks (patch 3372909), contributed by Erik Kulyk)
Version 0.6:
- mostly reverted patch 2594366: alsapcm_setup did not do complete error
- mostly reverted patch 2594366: alsapcm_setup did not do complete error
checking for good reasons; some ALSA functions in alsapcm_setup may fail without
rendering the device unusable
@@ -15,7 +46,7 @@ Version 0.5:
Version 0.4:
- API changes: mixers() and Mixer() now take a card index instead of a
- API changes: mixers() and Mixer() now take a card index instead of a
card name as optional parameter.
- Support for Python 3.0
- Documentation converted to reStructuredText; use Sphinx instead of LaTeX.
+3 -2
View File
@@ -5,12 +5,13 @@ For documentation, see http://larsimmisch.github.io/pyalsaaudio/
> Author: Casper Wilstrup (cwi@aves.dk)
> Maintainer: Lars Immisch (lars@ibp.de)
This package contains wrappers for accessing the ALSA api from Python. It
This package contains wrappers for accessing the
[ALSA](http://www.alsa-project.org/) API from Python. It
is currently fairly complete for PCM devices, and has some support for mixers.
If you find bugs in the wrappers please open an issue in the issue tracker.
Please don't send bug reports regarding ALSA specifically. There are several
bugs in this api, and those should be reported to the ALSA team - not
bugs in the ALSA API, and those should be reported to the ALSA team - not
me.
This software is licensed under the PSF license - the same one used
+1 -7
View File
@@ -4,17 +4,11 @@
It is fairly complete for PCM devices and Mixer access.
'''
import subprocess
from distutils.core import setup
from distutils.extension import Extension
from sys import version
def gitrev():
rev = subprocess.check_output(['git', 'describe', '--tags', '--dirty=-dev',
'--always'])
return rev.decode('utf-8').strip()
pyalsa_version = gitrev()
pyalsa_version = '0.8.2'
# patch distutils if it's too old to cope with the "classifiers" or
# "download_url" keywords