<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup
import re
import os
import sys


name = 'betty-cropper'
package = 'betty'
description = "A flask-powered image server"
url = "https://github.com/theonion/betty-cropper"
author = "<NAME>"
author_email = '<EMAIL>'
license = 'BSD'
requires = [
    "Flask==0.10.1",
    "SQLAlchemy==0.8.3",
    "psycopg2==2.5.1",
    "slimit==0.8.1",
    "uWSGI==1.9.19",
    "wand==0.3.5",
]


def get_version(package):
    """
    Return package version as listed in `__version__` in `init.py`.
    """
    init_py = open(os.path.join(package, '__init__.py')).read()
    return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)


def get_packages(package):
    """
    Return root package and all sub-packages.
    """
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]


def get_package_data(package):
    """
    Return all files under the root package, that are not in a<commit_msg>I guess we don't *need* uWsig<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup
import re
import os
import sys


name = 'betty-cropper'
package = 'betty'
description = "A flask-powered image server"
url = "https://github.com/theonion/betty-cropper"
author = "<NAME>"
author_email = '<EMAIL>'
license = 'BSD'
requires = [
    "Flask==0.10.1",
    "SQLAlchemy==0.8.3",
    "psycopg2==2.5.1",
    "slimit==0.8.1",
    "wand==0.3.5",
]


def get_version(package):
    """
    Return package version as listed in `__version__` in `init.py`.
    """
    init_py = open(os.path.join(package, '__init__.py')).read()
    return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)


def get_packages(package):
    """
    Return root package and all sub-packages.
    """
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]


def get_package_data(package):
    """
    Return all files under the root package, that are not in a
{'fraction_non_alphanumeric': 0.17638952687184198, 'fraction_numerical': 0.01929260450160772, 'mean_word_length': 3.229126213592233, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2663343', 'n_tokens_mistral': 816, 'n_tokens_neox': 787, 'n_words': 181}