<commit_before>import os
from setuptools import setup, find_packages


def read(filename):
    with open(os.path.join(os.path.dirname(__file__), filename), 'r') as f:
        return f.read()

long_description = "{}\n\n{}".format(read("README.rst"),
                                     read("CONTRIBUTORS.rst"))

import fnmatch
package_data_files = []
for root, dirnames, filenames in os.walk('signals'):
    for filename in fnmatch.filter(filenames, '*.j2'):
        # Remove leading 'signals/' from root, as 'signals/' gets prepended during setup
        package_data_files.append(os.path.join(root.split('/', 1)[1], filename))

setup(
    name="yak-signals",
    packages=find_packages(exclude=["tests*"]),
    package_data={'signals': package_data_files},
    version="0.2.2",
    description="A tool for auto generating libraries for different platforms to communicate with your API",
    long_description=long_description,
    url="https://github.com/yeti/signals/",
    license="MIT",
    author="<NAME>",
    author_email="<EMAIL>",
    install_requires=[
        "click>=4.0",
        "lxml>=3.4",
        "Jinja2>=2.7.3"<commit_msg>Fixed import location in setup.py<commit_after>import os
from setuptools import setup, find_packages
import fnmatch


def read(filename):
    with open(os.path.join(os.path.dirname(__file__), filename), 'r') as f:
        return f.read()

long_description = "{}\n\n{}".format(read("README.rst"),
                                     read("CONTRIBUTORS.rst"))

package_data_files = []
for root, dirnames, filenames in os.walk('signals'):
    for filename in fnmatch.filter(filenames, '*.j2'):
        # Remove leading 'signals/' from root, as 'signals/' gets prepended during setup
        package_data_files.append(os.path.join(root.split('/', 1)[1], filename))

setup(
    name="yak-signals",
    packages=find_packages(exclude=["tests*"]),
    package_data={'signals': package_data_files},
    version="0.2.2",
    description="A tool for auto generating libraries for different platforms to communicate with your API",
    long_description=long_description,
    url="https://github.com/yeti/signals/",
    license="MIT",
    author="<NAME>",
    author_email="<EMAIL>",
    install_requires=[
        "click>=4.0",
        "lxml>=3.4",
        "Jinja2>=2.7.3"
{'fraction_non_alphanumeric': 0.15234375, 'fraction_numerical': 0.012152777777777778, 'mean_word_length': 3.4670542635658914, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5742819', 'n_tokens_mistral': 739, 'n_tokens_neox': 718, 'n_words': 157}