Clemens Ladisch schrieb:
Christopher Arndt wrote:
I've tested this now and encountered a very strange bevahior of the event time set by the queue:
Apparently, you are the first one who tried to use this. Fixed now: http://git.alsa-project.org/?p=alsa-python.git;a=commitdiff;h=9a7dea33dddeb2...
Excelllent! The test script now produces correct results. Thanks for the fix!
Might I suggest another patch to pyalsa? This would allow to use developers to use "python setup.py develop" to install their git version as a Python egg-link and makes it much easier to use pyalasa with virtual Python environments.
Chris
diff --git a/setup.py b/setup.py index fa7f2d6..c2b6389 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,10 @@
import os import sys -from distutils.core import setup, Extension +try: + from setuptools import setup, Extension +except ImportError: + from distutils.core import setup, Extension
VERSION='1.0.20'