<commit_before>#!/usr/bin/env python

import distutils, os
from distutils.core import setup, Extension

(u_sysname, u_nodename, u_release, u_version, u_machine) = os.uname()

macros = []
libs = []
if u_sysname == "Linux":
    macros.append(("HAVE_LINUX", None))
    macros.append(("HAVE_LEVEL2", None))
    libs.append("acl")
elif u_sysname == "GNU/kFreeBSD":
    macros.append(("HAVE_LINUX", None))
    macros.append(("HAVE_LEVEL2", None))
    libs.append("acl")
elif u_sysname == "FreeBSD":
    macros.append(("HAVE_FREEBSD", None))
    libs.append("posix1e")
else:
    raise ValueError("I don't know your system '%s'."
                     " Please contact the author" % u_sysname)

long_desc = """This is a C extension module for Python which
implements POSIX ACLs manipulation. It is a wrapper on top
of the systems's acl C library - see acl(5)."""
version = "0.2.1"
setup(name="pylibacl",
      version=version,
      description="POSIX.1e ACLs for python",
      long_description=long_desc,
      author="<NAME>",
      author_email="<EMAIL>",
      url="http://pylibacl.sourceforge.net",
      license="GPL",
      ext_modules=[Extension("posix1e", ["acl.c"],
                             libraries=libs,
                             define_macros=macros,
                             )],
      data_files=[("/usr/share/doc/pylibacl-%s" % version,
                   ["README","IMPLEMENTATION", "PLATFORMS",
                    "BENCHMARK",
                    "posix1e.html", "posix1e.txt"])],
      )<commit_msg>- Update setup.py to 0.2.2 - remove posix1e from freebsd libs, as recent freebsd versions don't need it   and also they don't have this lib anymore (the acls are in libc now)<commit_after>#!/usr/bin/env python

import distutils, os
from distutils.core import setup, Extension

(u_sysname, u_nodename, u_release, u_version, u_machine) = os.uname()

macros = []
libs = []
if u_sysname == "Linux":
    macros.append(("HAVE_LINUX", None))
    macros.append(("HAVE_LEVEL2", None))
    libs.append("acl")
elif u_sysname == "GNU/kFreeBSD":
    macros.append(("HAVE_LINUX", None))
    macros.append(("HAVE_LEVEL2", None))
    libs.append("acl")
elif u_sysname == "FreeBSD":
    macros.append(("HAVE_FREEBSD", None))
else:
    raise ValueError("I don't know your system '%s'."
                     " Please contact the author" % u_sysname)

long_desc = """This is a C extension module for Python which
implements POSIX ACLs manipulation. It is a wrapper on top
of the systems's acl C library - see acl(5)."""
version = "0.2.2"
setup(name="pylibacl",
      version=version,
      description="POSIX.1e ACLs for python",
      long_description=long_desc,
      author="<NAME>",
      author_email="<EMAIL>",
      url="http://pylibacl.sourceforge.net",
      license="GPL",
      ext_modules=[Extension("posix1e", ["acl.c"],
                             libraries=libs,
                             define_macros=macros,
                             )],
      data_files=[("/usr/share/doc/pylibacl-%s" % version,
                   ["README","IMPLEMENTATION", "PLATFORMS",
                    "BENCHMARK",
                    "posix1e.html", "posix1e.txt"])],
      )
{'fraction_non_alphanumeric': 0.14317180616740088, 'fraction_numerical': 0.007866582756450597, 'mean_word_length': 2.6414662084765177, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '387091', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1018, 'n_words': 239}