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

"""Setup for cppclean."""

from __future__ import absolute_import

import ast
from distutils import core
import os


def version(filename):
    """Return version string."""
    with open(filename) as input_file:
        for line in input_file:
            if line.startswith('__version__'):
                return ast.parse(line).body[0].value.s


with open('README.rst') as readme:
    core.setup(name='cppclean',
               version=version(os.path.join('cpp', '__init__.py')),
               description='Find problems in C++ source that slow development '
                           'of large code bases.',
               long_description=readme.read(),
               packages=['cpp'],
               scripts=['cppclean'])<commit_msg>Add URL<commit_after>#!/usr/bin/env python

"""Setup for cppclean."""

from __future__ import absolute_import

import ast
from distutils import core
import os


def version(filename):
    """Return version string."""
    with open(filename) as input_file:
        for line in input_file:
            if line.startswith('__version__'):
                return ast.parse(line).body[0].value.s


with open('README.rst') as readme:
    core.setup(name='cppclean',
               version=version(os.path.join('cpp', '__init__.py')),
               description='Find problems in C++ source that slow development '
                           'of large code bases.',
               long_description=readme.read(),
               license='Apache license',
               url='https://github.com/myint/cppclean',
               packages=['cpp'],
               scripts=['cppclean'])
{'fraction_non_alphanumeric': 0.12356147789218655, 'fraction_numerical': 0.0012113870381586917, 'mean_word_length': 2.304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2663056', 'n_tokens_mistral': 450, 'n_tokens_neox': 439, 'n_words': 115}