[PATCH] alsa-python: Add support for setuptools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Christopher Arndt <chris@xxxxxxxxxxxxx>

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'
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux