Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 55 lines (48 sloc) 1.526 kb
6ef656a Bob Ippolito initial import
etrepum authored
1 #!/usr/bin/env python
2
762cd9f Bob Ippolito refactor with setuptools
etrepum authored
3 import ez_setup
4 ez_setup.use_setuptools()
5
6 from setuptools import setup, Extension
6ef656a Bob Ippolito initial import
etrepum authored
7
05bbd0b Bob Ippolito FreeBSD support from Paul Querna
etrepum authored
8 VERSION = '0.3'
a7d1996 Bob Ippolito possibly add linux support
etrepum authored
9 DESCRIPTION = "Python wrapper for extended filesystem attributes"
6ef656a Bob Ippolito initial import
etrepum authored
10 LONG_DESCRIPTION = """
11 Extended attributes extend the basic attributes of files and directories
12 in the file system. They are stored as name:data pairs associated with
13 file system objects (files, directories, symlinks, etc).
14
a7d1996 Bob Ippolito possibly add linux support
etrepum authored
15 Extended attributes are currently only available on Darwin 8.0+ (Max OS X 10.4)
16 and Linux 2.6+.
6ef656a Bob Ippolito initial import
etrepum authored
17 """
18
826b4f3 Bob Ippolito register
etrepum authored
19 CLASSIFIERS = filter(None, map(str.strip,
6ef656a Bob Ippolito initial import
etrepum authored
20 """
21 Environment :: Console
22 Intended Audience :: Developers
23 License :: OSI Approved :: MIT License
24 Natural Language :: English
25 Operating System :: MacOS :: MacOS X
a7d1996 Bob Ippolito possibly add linux support
etrepum authored
26 Operating System :: POSIX :: Linux
63d8758 Bob Ippolito tag with FreeBSD category
etrepum authored
27 Operating System :: POSIX :: FreeBSD
6ef656a Bob Ippolito initial import
etrepum authored
28 Programming Language :: Python
29 Topic :: Software Development :: Libraries :: Python Modules
826b4f3 Bob Ippolito register
etrepum authored
30 """.splitlines()))
6ef656a Bob Ippolito initial import
etrepum authored
31
32 setup(
33 name="xattr",
34 version=VERSION,
35 description=DESCRIPTION,
36 long_description=LONG_DESCRIPTION,
37 classifiers=CLASSIFIERS,
38 author="Bob Ippolito",
39 author_email="bob@redivi.com",
40 url="http://undefined.org/python/#xattr",
41 license="MIT License",
42 packages=['xattr'],
05bbd0b Bob Ippolito FreeBSD support from Paul Querna
etrepum authored
43 platforms=['MacOS X', 'Linux', 'FreeBSD'],
6ef656a Bob Ippolito initial import
etrepum authored
44 package_dir={'xattr': 'Lib/xattr'},
45 ext_modules=[
46 Extension("xattr._xattr", ["Modules/xattr/_xattr.c"]),
47 ],
d5e7472 Bob Ippolito add the tool
etrepum authored
48 entry_points={
49 'console_scripts': [
50 "xattr = xattr.tool:main",
51 ],
52 },
762cd9f Bob Ippolito refactor with setuptools
etrepum authored
53 zip_safe=False,
6ef656a Bob Ippolito initial import
etrepum authored
54 )
Something went wrong with that request. Please try again.