]> git.k1024.org Git - pyxattr.git/blob - setup.py
Don't call python2, only python
[pyxattr.git] / setup.py
1 #!/usr/bin/env python
2
3 import distutils
4 from distutils.core 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.1"
10
11 setup(name="pyxattr",
12       version=version,
13       description="Extended attributes for python",
14       long_description=long_desc,
15       author="Iustin Pop",
16       author_email="iusty@k1024.org",
17       url="http://pyxattr.sourceforge.net",
18       license="GPL",
19       ext_modules=[Extension("xattr", ["xattr.c"], libraries=["attr"])],
20       data_files=[("/usr/share/doc/pyxattr-%s" % version,
21                   ["README", "xattr.html", "xattr.txt"])]
22       )