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"
17 ("_XATTR_VERSION", '"%s"' % version),
18 ("_XATTR_AUTHOR", '"%s"' % author),
19 ("_XATTR_EMAIL", '"%s"' % author_email),
21 setup(name = "pyxattr",
23 description = "Filesystem extended attributes for python",
24 long_description = long_desc,
26 author_email = author_email,
27 url = "http://pyxattr.k1024.org/",
28 download_url = "http://pyxattr.k1024.org/downloads/",
30 ext_modules = [Extension("xattr", ["xattr.c"],
33 extra_compile_args=["-Wall", "-Werror", "-Wsign-compare"],
35 platforms = ["Linux"],
36 python_requires = ">=3.4",
38 "Bug Tracker": "https://github.com/iustin/pyxattr/issues",
41 "Development Status :: 5 - Production/Stable",
42 "Intended Audience :: Developers",
43 "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
44 "Programming Language :: Python :: 3 :: Only",
45 "Programming Language :: Python :: Implementation :: CPython",
46 "Programming Language :: Python :: Implementation :: PyPy",
47 "Operating System :: MacOS :: MacOS X",
48 "Operating System :: POSIX :: Linux",
49 "Topic :: Software Development :: Libraries :: Python Modules",
50 "Topic :: System :: Filesystems",