]> git.k1024.org Git - pyxattr.git/blob - setup.py
Docstring updates
[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.3.0"
11 author = "Iustin Pop"
12 author_email = "iusty@k1024.org"
13 macros = [
14     ("_XATTR_VERSION", '"%s"' % version),
15     ("_XATTR_AUTHOR", '"%s"' % author),
16     ]
17 setup(name = "pyxattr",
18       version = version,
19       description = "Filesystem extended attributes for python",
20       long_description = long_desc,
21       author = author,
22       author_email = author_email,
23       url = "http://pyxattr.sourceforge.net",
24       license = "LGPL",
25       ext_modules = [Extension("xattr", ["xattr.c"],
26                                libraries=["attr"],
27                                define_macros=macros)],
28       test_suite = "test/test_xattr",
29       )