]> git.k1024.org Git - pyxattr.git/blob - setup.py
Bump version number for new release
[pyxattr.git] / setup.py
1 #!/usr/bin/python
2
3 import distutils
4 from setuptools import setup, Extension
5
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)."""
9 version = "0.5.1"
10 author = "Iustin Pop"
11 author_email = "iusty@k1024.org"
12 macros = [
13     ("_XATTR_VERSION", '"%s"' % version),
14     ("_XATTR_AUTHOR", '"%s"' % author),
15     ("_XATTR_EMAIL", '"%s"' % author_email),
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.k1024.org/",
24       license = "LGPL",
25       ext_modules = [Extension("xattr", ["xattr.c"],
26                                libraries=["attr"],
27                                define_macros=macros)],
28       test_suite = "test",
29       )