From 73ac62755743ca972c8d11dd17d30a8c8561f185 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 14 May 2012 22:50:43 +0200 Subject: [PATCH] Switch to setuptools For proper testsuite support. --- setup.py | 5 ++--- test/__init__.py | 0 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 test/__init__.py diff --git a/setup.py b/setup.py index e6f77bc..839484a 100755 --- a/setup.py +++ b/setup.py @@ -1,8 +1,7 @@ #!/usr/bin/python import distutils -from distutils.core import setup, Extension -#from setuptools import setup, Extension +from setuptools import setup, Extension long_desc = """This is a C extension module for Python which implements extended attributes manipulation. It is a wrapper on top @@ -26,5 +25,5 @@ setup(name = "pyxattr", ext_modules = [Extension("xattr", ["xattr.c"], libraries=["attr"], define_macros=macros)], - #test_suite = "test/test_xattr", + test_suite = "test", ) diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 -- 2.39.2