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

import os
import re
import sys
import codecs

from setuptools import setup, find_packages


# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv or 'develop' in sys.argv:
    os.chdir('fluentcms_publishing')
    try:
        from django.core import management
        management.call_command('compilemessages', stdout=sys.stderr, verbosity=1)
    except ImportError:
        if 'sdist' in sys.argv:
            raise
    finally:
        os.chdir('..')


def read(*parts):
    file_path = os.path.join(os.path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()


def find_version(*parts):
    version_file = read(*parts)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
    if version_match:
        return str(version_match.group(1))
    raise RuntimeError("Unable to find version string.")


setup(
    name='fluentcms-publishing',
    version=find_version('fluentcms_publishing', '__init__.py'),
    license='MIT License',

    install_requires=[
        'django-model-publisher>0.1.5',
        'django-model-settings',
    ],
    requires=[
        'Django (>=1.4)',
    ],

    description='django-fluent-pages meets django-model-publisher',
    long_description=read('README.rst'),

    author='<NAME>',<commit_msg>updated requirements<commit_after>#!/usr/bin/env python

import os
import re
import sys
import codecs

from setuptools import setup, find_packages


# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv or 'develop' in sys.argv:
    os.chdir('fluentcms_publishing')
    try:
        from django.core import management
        management.call_command('compilemessages', stdout=sys.stderr, verbosity=1)
    except ImportError:
        if 'sdist' in sys.argv:
            raise
    finally:
        os.chdir('..')


def read(*parts):
    file_path = os.path.join(os.path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()


def find_version(*parts):
    version_file = read(*parts)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
    if version_match:
        return str(version_match.group(1))
    raise RuntimeError("Unable to find version string.")


setup(
    name='fluentcms-publishing',
    version=find_version('fluentcms_publishing', '__init__.py'),
    license='MIT License',

    install_requires=[
        'django-model-publisher>0.1.5',
        'django-model-settings>0.3',
    ],
    requires=[
        'Django (>=1.8)',
    ],

    description='django-fluent-pages meets django-model-publisher',
    long_description=read('README.rst'),

    author='<NAME>',
{'fraction_non_alphanumeric': 0.142183532825535, 'fraction_numerical': 0.006528835690968444, 'mean_word_length': 3.384737678855326, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '6374400', 'n_tokens_mistral': 902, 'n_tokens_neox': 877, 'n_words': 190}