<commit_before>"""
FlexGet build and development utilities - unfortunately this file is somewhat messy
"""
from __future__ import print_function
import glob
import os
import shutil
import sys

from paver.easy import environment, task, cmdopts, Bunch, path, call_task, might_call, consume_args
# These 2 packages do magic on import, even though they aren't used explicitly
import paver.virtual
import paver.setuputils
from paver.shell import sh
from paver.setuputils import setup, find_package_data, find_packages

sphinxcontrib = False
try:
    from sphinxcontrib import paverutils
    sphinxcontrib = True
except ImportError:
    pass

sys.path.insert(0, '')

options = environment.options

install_requires = [
    'FeedParser>=5.2.1',
    # There is a bug in sqlalchemy 0.9.0, see gh#127
    'SQLAlchemy >=0.7.5, !=0.9.0, <1.999',
    'PyYAML',
    # There is a bug in beautifulsoup 4.2.0 that breaks imdb parsing, see http://flexget.com/ticket/2091
    'beautifulsoup4>=4.1, !=4.2.0, <4.5',
    'html5lib>=0.11',
    'PyRSS2Gen',
    'pynzb',
    'progressbar',
    'rpyc',
    'jinja2',
    # There is a bug in requests 2.4.0 where it leaks urllib3 exceptions
    'requests>=1.0, !=2.4.0, <2.99',
    'python-dateutil!=2.0, !=2.2',
    'jsonschema>=2.0',
    'tmdb3',
    'path.py',
    'guessit>=0.9.3, <0.10.4',
    'apscheduler',
    'flask>=0.7',
    'flask-restful>=0.3.3',
    'ordereddict>=1.1',
    'flask-restplus==0.7.2',
    'cherrypy>=3.7.0',
    'flask-assets>=0.11',
    'cssmin>=0.2.0',
    'flask-compress>=1.2.1',
    'flask-login>=0.3.2',
    'pyparsing>=2.0.3',
    'pyScss>=1.3.4',
    'pytvmaze>=1.4.3'
]

if sys.version_info < (2, 7):
    # argparse is part of the standard library in python 2.7+
    install_requires.append('argparse')

entry_points = {'console_scripts': ['flexget = flexget:main']}

# Provide an alternate exe on windows which does not cause a pop-up when scheduled
if sys.platform.startswith('win'):
    entry_points.setdefault('gui_scripts', []).append('flexget-headless = flexget:main')

with open("README.rst") as readme:
    long_description = readme.read()
<commit_msg>[fix][tvmaze] Fixes Unicoded issues with tvmaze API. Closed #759, close #762<commit_after>"""
FlexGet build and development utilities - unfortunately this file is somewhat messy
"""
from __future__ import print_function
import glob
import os
import shutil
import sys

from paver.easy import environment, task, cmdopts, Bunch, path, call_task, might_call, consume_args
# These 2 packages do magic on import, even though they aren't used explicitly
import paver.virtual
import paver.setuputils
from paver.shell import sh
from paver.setuputils import setup, find_package_data, find_packages

sphinxcontrib = False
try:
    from sphinxcontrib import paverutils
    sphinxcontrib = True
except ImportError:
    pass

sys.path.insert(0, '')

options = environment.options

install_requires = [
    'FeedParser>=5.2.1',
    # There is a bug in sqlalchemy 0.9.0, see gh#127
    'SQLAlchemy >=0.7.5, !=0.9.0, <1.999',
    'PyYAML',
    # There is a bug in beautifulsoup 4.2.0 that breaks imdb parsing, see http://flexget.com/ticket/2091
    'beautifulsoup4>=4.1, !=4.2.0, <4.5',
    'html5lib>=0.11',
    'PyRSS2Gen',
    'pynzb',
    'progressbar',
    'rpyc',
    'jinja2',
    # There is a bug in requests 2.4.0 where it leaks urllib3 exceptions
    'requests>=1.0, !=2.4.0, <2.99',
    'python-dateutil!=2.0, !=2.2',
    'jsonschema>=2.0',
    'tmdb3',
    'path.py',
    'guessit>=0.9.3, <0.10.4',
    'apscheduler',
    'flask>=0.7',
    'flask-restful>=0.3.3',
    'ordereddict>=1.1',
    'flask-restplus==0.7.2',
    'cherrypy>=3.7.0',
    'flask-assets>=0.11',
    'cssmin>=0.2.0',
    'flask-compress>=1.2.1',
    'flask-login>=0.3.2',
    'pyparsing>=2.0.3',
    'pyScss>=1.3.4',
    'pytvmaze>=1.4.4'
]

if sys.version_info < (2, 7):
    # argparse is part of the standard library in python 2.7+
    install_requires.append('argparse')

entry_points = {'console_scripts': ['flexget = flexget:main']}

# Provide an alternate exe on windows which does not cause a pop-up when scheduled
if sys.platform.startswith('win'):
    entry_points.setdefault('gui_scripts', []).append('flexget-headless = flexget:main')

with open("README.rst") as readme:
    long_description = readme.read()

{'fraction_non_alphanumeric': 0.15005807200929153, 'fraction_numerical': 0.05063879210220674, 'mean_word_length': 3.6102783725910066, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 39, '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': '3159515', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1607, 'n_words': 398}