]> git.k1024.org Git - debian-pyxattr.git/blob - setup.py
Fixed clean rule
[debian-pyxattr.git] / setup.py
1 #!/usr/bin/python
2
3 #import distutils
4 #from distutils.core import setup, Extension
5 from setuptools import setup, Extension
6
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)."""
10 version = "0.4.0"
11 author = "Iustin Pop"
12 author_email = "iusty@k1024.org"
13 macros = [
14     ("_XATTR_VERSION", '"%s"' % version),
15     ("_XATTR_AUTHOR", '"%s"' % author),
16     ("_XATTR_EMAIL", '"%s"' % author_email),
17     ]
18 setup(name = "pyxattr",
19       version = version,
20       description = "Filesystem extended attributes for python",
21       long_description = long_desc,
22       author = author,
23       author_email = author_email,
24       url = "http://pyxattr.sourceforge.net/",
25       license = "LGPL",
26       ext_modules = [Extension("xattr", ["xattr.c"],
27                                libraries=["attr"],
28                                define_macros=macros)],
29       test_suite = "test/test_xattr",
30       )