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

from setuptools import setup
import re
import os
import sys


name = 'django-bulbs'
package = 'bulbs'
description = "America's Finest Namespace"
url = 'http://gitlab.theonion.com/afns'
author = '<NAME>'
author_email = '<EMAIL>'
license = 'BSD'
requires = [
    "Django==1.5",
    "Markdown==2.2.1",
    "Pillow==1.7.8",
    "South==0.8.1",
    #"djangorestframework==2.4.0",
    "django-elastimorphic==0.0.2",
    "django_polymorphic==0.5.1",
    "elasticutils==0.7",
    "mdx-smartypants==1.3",
    "namedentities==1.301",
    "pyelasticsearch==0.5",
    "python-dateutil==2.1",
    "pytz==2012h",
    "requests==1.1.0",
    "simplejson==3.3.0",
    "six==1.2.0",
    "thrift==0.8.0",
    "wsgiref==0.1.2",
]


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'))]<commit_msg>Fixing the setup.py requirements<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup
import re
import os
import sys


name = 'django-bulbs'
package = 'bulbs'
description = "America's Finest Namespace"
url = 'http://gitlab.theonion.com/afns'
author = '<NAME>'
author_email = '<EMAIL>'
license = 'BSD'
requires = [
    "Django>=1.4",
    "Pillow==1.7.8",
    "South==0.8.1",
    "django-elastimorphic==0.0.2",
    "django-json-field==0.5.5",
    "django_polymorphic==0.5.1",
    "djangorestframework==2.3.13",
    "namedentities==1.301",
    "python-dateutil==2.1",
    "pytz==2012h",
    "requests==1.1.0",
    "simplejson==3.3.0",
    "six==1.2.0",
    "thrift==0.8.0",
    "wsgiref==0.1.2",
]


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'))]
{'fraction_non_alphanumeric': 0.20299566417027987, 'fraction_numerical': 0.03981080015766653, 'mean_word_length': 3.1881188118811883, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, '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': '1575845', 'n_tokens_mistral': 1016, 'n_tokens_neox': 986, 'n_words': 171}