[alsa-devel] [PATCH] alsa-python: Add support for setuptools

Christopher Arndt chris.arndt at web.de
Wed Aug 5 15:18:53 CEST 2009

This patch adds support for setuptools to the setup.py file of python-alsa.

Signed-off-by: Christopher Arndt <chris at chrisarndt.de>

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
+    from setuptools import setup, Extension
+except ImportError:
+    from distutils.core import setup, Extension


More information about the Alsa-devel mailing list