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

# from distutils.core import setup
from setuptools import setup, find_packages
import multiprocessing  # nopep8
import os


__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))

VERSION = '0.4.2'

version_file = open(os.path.join(__location__, 'orlo', '_version.py'), 'w')
version_file.write("__version__ = '{}'".format(VERSION))
version_file.close()

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

install_requires = [
    'Flask>=0.12',
    'Flask-Alembic >= 2.0.1',
    'Flask-HTTPAuth',
    'Flask-Migrate',
    'Flask-SQLAlchemy',
    'Flask-Script >= 2.0.5',
    'Flask-TokenAuth',
    'arrow',
    'gunicorn',
    'orloclient>=0.2.0',
    'psycopg2',
    'pyldap',
    'pytz',
    'sqlalchemy-utils',
]

# Horrible hack
rtd_requires = [
    'Flask>=0.12',
    'Flask-Alembic >= 2.0.1',
    'Flask-HTTPAuth',
    'Flask-Migrate',
    'Flask-SQLAlchemy',
    'Flask-Script >= 2.0.5',
    'Flask-TokenAuth',
    'arrow',
    'orloclient>=0.2.0',
    'pytz',
    'sqlalchemy-utils',
    'sphinxcontrib-httpdomain',
]

tests_require = [<commit_msg>Bump orloclient version requirement<commit_after>#!/usr/bin/env python

# from distutils.core import setup
from setuptools import setup, find_packages
import multiprocessing  # nopep8
import os


__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))

VERSION = '0.4.2'

version_file = open(os.path.join(__location__, 'orlo', '_version.py'), 'w')
version_file.write("__version__ = '{}'".format(VERSION))
version_file.close()

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

install_requires = [
    'Flask>=0.12',
    'Flask-Alembic >= 2.0.1',
    'Flask-HTTPAuth',
    'Flask-Migrate',
    'Flask-SQLAlchemy',
    'Flask-Script >= 2.0.5',
    'Flask-TokenAuth',
    'arrow',
    'gunicorn',
    'orloclient>=0.4.5',
    'psycopg2',
    'pyldap',
    'pytz',
    'sqlalchemy-utils',
]

# Horrible hack
rtd_requires = [
    'Flask>=0.12',
    'Flask-Alembic >= 2.0.1',
    'Flask-HTTPAuth',
    'Flask-Migrate',
    'Flask-SQLAlchemy',
    'Flask-Script >= 2.0.5',
    'Flask-TokenAuth',
    'arrow',
    'orloclient>=0.2.0',
    'pytz',
    'sqlalchemy-utils',
    'sphinxcontrib-httpdomain',
]

tests_require = [
{'fraction_non_alphanumeric': 0.18492550394390886, 'fraction_numerical': 0.025416301489921123, 'mean_word_length': 3.4940944881889764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '28857', 'n_tokens_mistral': 966, 'n_tokens_neox': 944, 'n_words': 139}