<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# PCEF - Python/Qt Code Editing Framework
# Copyright 2013, <NAME> <<EMAIL>>
#
# This software is released under the LGPLv3 license.
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""
This setup script packages pcef-python
"""
from setuptools import setup, find_packages


def read_version():
    with open("pcef/python/__init__.py") as f:
        lines = f.read().splitlines()
        for l in lines:
            if "__version__" in l:
                return l.split("=")[1].strip()


def readme():
    return str(open('README.rst').read())


# get requirements
requirements = ['pcef-core', 'jedi', 'pep8', 'pyflakes']


setup(
    name='pcef-python',
    namespace_packages=['pcef'],
    version=read_version(),
    packages=find_packages(),
    keywords=["QCodeEditor", "PySide", "PyQt", "code editor", "python"],
    # package_data={'pcef.ui': ['rc/*']},
    package_dir={'pcef': 'pcef'},
    url='https://github.com/ColinDuquesnoy/PCEF',
    license='GNU LGPL v3',
    author='<NAME>',
    author_email='<EMAIL>',
    description='PCEF python specific modes and panels',
    long_description=readme(),
    install_requires=requirements,
    entry_points={'pcef_plugins':
                 ['pcef_python = pcef.python.plugins.pcef_python_plugin']},
    zip_safe=False
)<commit_msg>Updated setup.py<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# PCEF - Python/Qt Code Editing Framework
# Copyright 2013, <NAME> <<EMAIL>>
#
# This software is released under the LGPLv3 license.
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""
This setup script packages pcef-python
"""
from setuptools import setup, find_packages


def read_version():
    with open("pcef/python/__init__.py") as f:
        lines = f.read().splitlines()
        for l in lines:
            if "__version__" in l:
                return l.split("=")[1].strip()


def readme():
    return str(open('README.rst').read())


# get requirements
requirements = ['pcef-core', 'jedi', 'pep8', 'pyflakes']


setup(
    name='pcef-python',
    namespace_packages=['pcef'],
    version=read_version(),
    packages=find_packages(),
    keywords=["QCodeEditor", "PySide", "PyQt", "code editor", "python"],
    package_data={'pcef.python.ui': ['*.ui', 'rc/*']},
    package_dir={'pcef': 'pcef'},
    url='https://github.com/ColinDuquesnoy/PCEF',
    license='GNU LGPL v3',
    author='<NAME>',
    author_email='<EMAIL>',
    description='PCEF python specific modes and panels',
    long_description=readme(),
    install_requires=requirements,
    entry_points={'pcef_plugins':
                 ['pcef_python = pcef.python.plugins.pcef_python_plugin']},
    zip_safe=False
)
{'fraction_non_alphanumeric': 0.1614010989010989, 'fraction_numerical': 0.006181318681318681, 'mean_word_length': 3.58740157480315, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3325167', 'n_tokens_mistral': 985, 'n_tokens_neox': 965, 'n_words': 230}