6 from setuptools import setup, Extension
8 from distutils.core import setup, Extension
10 long_desc = """This is a C extension module for Python which
11 implements extended attributes manipulation. It is a wrapper on top
12 of the attr C library - see attr(5)."""
15 author_email = "iustin@k1024.org"
18 ("_XATTR_VERSION", '"%s"' % version),
19 ("_XATTR_AUTHOR", '"%s"' % author),
20 ("_XATTR_EMAIL", '"%s"' % author_email),
22 setup(name = "pyxattr",
24 description = "Filesystem extended attributes for python",
25 long_description = long_desc,
27 author_email = author_email,
28 url = "http://pyxattr.k1024.org/",
29 download_url = "http://pyxattr.k1024.org/downloads/",
31 ext_modules = [Extension("xattr", ["xattr.c"],
34 extra_compile_args=["-Wall", "-Werror", "-Wsign-compare"],
37 platforms = ["Linux"],