From 2408a4aa1a277625ae6b9910d8deb970a5292e4e Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 9 Mar 2008 11:15:13 +0100 Subject: [PATCH] Switch from distutils to setuptools --- setup.py | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/setup.py b/setup.py index 9e468b4..2cbbfb3 100755 --- a/setup.py +++ b/setup.py @@ -1,20 +1,22 @@ -#!/usr/bin/env python +#!/usr/bin/python -import distutils -from distutils.core import setup, Extension +#import distutils +#from distutils.core 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 of the attr C library - see attr(5).""" version = "0.2.2" -setup(name="pyxattr", - version=version, - description="Extended attributes for python", - long_description=long_desc, - author="Iustin Pop", - author_email="iusty@k1024.org", - url="http://pyxattr.sourceforge.net", - license="GPL", - ext_modules=[Extension("xattr", ["xattr.c"], libraries=["attr"])], +setup(name = "pyxattr", + version = version, + description = "Filesystem extended attributes for python", + long_description = long_desc, + author = "Iustin Pop", + author_email = "iusty@k1024.org", + url = "http://pyxattr.sourceforge.net", + license = "LGPL", + ext_modules = [Extension("xattr", ["xattr.c"], libraries=["attr"])], + test_suite = "test/test_xattr", ) -- 2.39.5