<commit_before># -*- coding: utf-8 -*-
{{ header }}

from setuptools import setup
import os

packages = ['{{ name }}', '{{ name }}.cli']
resources = []
api_version_path = "./{{ name }}"

for version_folder in os.listdir(api_version_path):

    if os.path.isfile("%s/%s" % (api_version_path, version_folder)):
        continue

    if version_folder == "cli":
        continue

    packages.append("{{ name }}.%s" % version_folder)
    packages.append("{{ name }}.%s.fetchers" % version_folder)

    if os.path.exists('{{ name }}/%s/resources' % version_folder):
        resources.append(('{{ name }}/%s/resources' % version_folder, ['{{ name }}/%s/resources/attrs_defaults.ini' % version_folder]))

setup(
    name='{{ name }}',
    version="{{ version }}",
    url='{{ url }}',
    author='{{ author }}',
    author_email='{{ email }}',
    packages=packages,
    description='{{ description }}',
    long_description=open('README.md').read(),
    license='{{ license_name }}',
    include_package_data=True,
    data_files=resources,
    entry_points={
        'console_scripts': [
            '{{ cli_name }} = {{ name }}.cli.cli:main']
    }
)
<commit_msg>trying to reconcile pip and setuptools<commit_after># -*- coding: utf-8 -*-
{{ header }}

from setuptools import setup
import os

packages = ['{{ name }}', '{{ name }}.cli']
resources = []
api_version_path = "./{{ name }}"

for version_folder in os.listdir(api_version_path):

    if os.path.isfile("%s/%s" % (api_version_path, version_folder)):
        continue

    if version_folder == "cli":
        continue

    packages.append("{{ name }}.%s" % version_folder)
    packages.append("{{ name }}.%s.fetchers" % version_folder)

    if os.path.exists('{{ name }}/%s/resources' % version_folder):
        resources.append(('{{ name }}/%s/resources' % version_folder, ['{{ name }}/%s/resources/attrs_defaults.ini' % version_folder]))

setup(
    name='{{ name }}',
    version="{{ version }}",
    url='{{ url }}',
    author='{{ author }}',
    author_email='{{ email }}',
    packages=packages,
    description='{{ description }}',
    long_description=open('README.md').read(),
    license='{{ license_name }}',
    include_package_data=True,
    install_requires=['tabulate', 'colorama', 'bambou'],
    dependency_links=['git+https://github.com/nuagenetworks/bambou.git@v2.0#egg=bambou'],
    data_files=resources,
    entry_points={
        'console_scripts': [
            '{{ cli_name }} = {{ name }}.cli.cli:main']
    }
)

{'fraction_non_alphanumeric': 0.1998394863563403, 'fraction_numerical': 0.0016051364365971107, 'mean_word_length': 3.4918918918918918, 'pattern_counts': {'":': 2, '<': 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': '2887902', 'n_tokens_mistral': 814, 'n_tokens_neox': 792, 'n_words': 157}