4 from setuptools import setup, Extension
6 long_desc = """This is a C extension module for Python which
7 implements extended attributes manipulation. It is a wrapper on top
8 of the attr C library - see attr(5)."""
11 author_email = "iusty@k1024.org"
13 ("_XATTR_VERSION", '"%s"' % version),
14 ("_XATTR_AUTHOR", '"%s"' % author),
15 ("_XATTR_EMAIL", '"%s"' % author_email),
17 setup(name = "pyxattr",
19 description = "Filesystem extended attributes for python",
20 long_description = long_desc,
22 author_email = author_email,
23 url = "http://pyxattr.k1024.org/",
24 download_url = "https://github.com/iustin/pyxattr/downloads",
26 ext_modules = [Extension("xattr", ["xattr.c"],
28 define_macros=macros)],
30 platforms = ["Linux"],