4 #from distutils.core import setup, Extension
5 from setuptools import setup, Extension
7 long_desc = """This is a C extension module for Python which
8 implements extended attributes manipulation. It is a wrapper on top
9 of the attr C library - see attr(5)."""
12 author_email = "iusty@k1024.org"
14 ("_XATTR_VERSION", '"%s"' % version),
15 ("_XATTR_AUTHOR", '"%s"' % author),
16 ("_XATTR_EMAIL", '"%s"' % author_email),
18 setup(name = "pyxattr",
20 description = "Filesystem extended attributes for python",
21 long_description = long_desc,
23 author_email = author_email,
24 url = "http://pyxattr.sourceforge.net/",
26 ext_modules = [Extension("xattr", ["xattr.c"],
28 define_macros=macros)],
29 test_suite = "test/test_xattr",