<commit_before>#!/usr/bin/env python
# This file is part of the GOsa project.
#
#  http://gosa-project.org
#
# Copyright:
#  (C) 2016 GONICUS GmbH, Germany, http://www.gonicus.de
#
# See the LICENSE file in the project's top-level directory for details.

from setuptools import setup, find_packages
import os
import platform

try:
    from babel.messages import frontend as babel
except:
    pass

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES')).read()

data_files = []
for path, dirs, files in os.walk("src/gosa/plugins/goto/data"):
    for f in files:
        data_files.append(os.path.join(path[14:], f))

setup(
    name = "gosa-plugin-goto",
    version = "1.0",
    author = "GONICUS GmbH",
    author_email = "<EMAIL>",
    description = "GOsa client integration",
    long_description = README + "\n\n" + CHANGES,
    keywords = "system config management ldap groupware",
    license = "GPL",
    url = "http://gosa-project.org",
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: System :: Systems Administration',
        'Topic :: System :: Systems Administration :: Authentication/Directory',
        'Topic :: System :: Software Distribution',
        'Topic :: System :: Monitoring',
    ],

    packages = find_packages('src', exclude=['examples', 'tests']),
    package_dir={'': 'src'},
    namespace_packages = ['gosa.plugin.gosa'],

    include_package_data = True,
    package_data = {
        'gosa.plugin.goto': data_files
    },

    zip_safe = False,

    setup_requires = [
        'pytest-runner',
        'pylint',
        ],
    tests_require=[
        'pytest',
        'pytest-cov',
        'coveralls',
        'tornado'
    ],
    install_requires = [
        'gosa.backend',
        'netaddr',
        ],

    entry_points = """
        [gosa.plugin]
        goto.network = gosa.plugins.goto.network:NetworkUtils
        goto.client_service = gosa.plugins.goto.client_service:ClientService

        [gosa.object.filter]
        registereddevicestatusin = gosa.plugins.goto.in_out_filters:registeredDeviceStatusIn
        registereddevicestatusout = gosa.plugins.goto.in_out_filters:registeredDeviceStatusOut
    """,
)<commit_msg>Fix setup.py<commit_after>#!/usr/bin/env python
# This file is part of the GOsa project.
#
#  http://gosa-project.org
#
# Copyright:
#  (C) 2016 GONICUS GmbH, Germany, http://www.gonicus.de
#
# See the LICENSE file in the project's top-level directory for details.

from setuptools import setup, find_packages
import os
import platform

try:
    from babel.messages import frontend as babel
except:
    pass

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES')).read()

data_files = []
for path, dirs, files in os.walk("src/gosa/plugins/goto/data"):
    for f in files:
        data_files.append(os.path.join(path[14:], f))

setup(
    name = "gosa-plugin-goto",
    version = "1.0",
    author = "GONICUS GmbH",
    author_email = "<EMAIL>",
    description = "GOsa client integration",
    long_description = README + "\n\n" + CHANGES,
    keywords = "system config management ldap groupware",
    license = "GPL",
    url = "http://gosa-project.org",
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: System :: Systems Administration',
        'Topic :: System :: Systems Administration :: Authentication/Directory',
        'Topic :: System :: Software Distribution',
        'Topic :: System :: Monitoring',
    ],

    packages = find_packages('src', exclude=['examples', 'tests']),
    package_dir={'': 'src'},
    namespace_packages = ['gosa.plugins.goto'],

    include_package_data = True,
    package_data = {
        'gosa.plugins.goto': data_files
    },

    zip_safe = False,

    setup_requires = [
        'pytest-runner',
        'pylint',
        ],
    tests_require=[
        'pytest',
        'pytest-cov',
        'coveralls',
        'tornado'
    ],
    install_requires = [
        'gosa.backend',
        'netaddr',
        ],

    entry_points = """
        [gosa.plugin]
        goto.network = gosa.plugins.goto.network:NetworkUtils
        goto.client_service = gosa.plugins.goto.client_service:ClientService

        [gosa.object.filter]
        registereddevicestatusin = gosa.plugins.goto.in_out_filters:registeredDeviceStatusIn
        registereddevicestatusout = gosa.plugins.goto.in_out_filters:registeredDeviceStatusOut
    """,
)
{'fraction_non_alphanumeric': 0.1356032277110805, 'fraction_numerical': 0.0035426097224955716, 'mean_word_length': 2.876430205949657, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2319614', 'n_tokens_mistral': 1603, 'n_tokens_neox': 1559, 'n_words': 351}