4 from distutils.core import setup, Extension
6 (u_sysname, u_nodename, u_release, u_version, u_machine) = os.uname()
10 if u_sysname == "Linux":
11 macros.append(("HAVE_LINUX", None))
12 macros.append(("HAVE_LEVEL2", None))
14 elif u_sysname == "FreeBSD":
15 macros.append(("HAVE_FREEBSD", None))
16 libs.append("posix1e")
18 raise ValueError("I don't know your system. Please contact the author")
22 description="POSIX ACLs for python",
23 long_description="""This is a C extension module for Python which
24 implements POSIX ACLs manipulation. It is a wrapper on top
25 of the acl C library - see acl(5).""",
27 author_email="iusty@k1024.org",
28 ext_modules=[Extension("acl", ["acl.c"],