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