From 439c4f859783be859ba3684231aeccdc29da0606 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Wed, 5 Aug 2009 15:20:19 +0200 Subject: [PATCH] [PATCH] alsa-python: Add support for setuptools This patch adds support for setuptools to the setup.py file of python-alsa. Signed-off-by: Christopher Arndt Signed-off-by: Clemens Ladisch --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fa7f2d6..b9aad00 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' -- 2.47.1