# Path: datarobot_batch_scoring/consts.py
# DEPRECATION_WARNING = (
#     '{yellow}{bold}Deprecation Warning!{reset} '
#     'The Batch Scoring script is deprecated. It will continue functioning '
#     'indefinitely, but it will not receive any new bug fixes and new '
#     'functionality. Please, use the Batch Prediction command-line tools '
#     'instead: '
#     '({underline}https://app.datarobot.com/docs/predictions'
#     '/batch/cli-scripts.html{reset}).'
#     .format(
#         yellow='\033[93m',
#         bold='\033[1m',
#         reset='\033[0m',
#         underline='\033[4m'
#     )
#    )


import sys
import codecs
import os.path
import re
from setuptools import setup, find_packages
from datarobot_batch_scoring.consts import DEPRECATION_WARNING
                             fp.read(), re.M)[0]
    except IndexError:
        raise RuntimeError('Unable to determine version.')


readme_fname = os.path.join(this_directory, 'README.rst')
with codecs.open(readme_fname, 'r', 'utf-8') as f:
    long_description = f.read()


setup(
    name='datarobot_batch_scoring',
    version=version,
    description=("A script to score CSV files via DataRobot's prediction API"),
    long_description=long_description,
    author='DataRobot',
    author_email='support@datarobot.com',
    maintainer='DataRobot',
    maintainer_email='support@datarobot.com',
    license='BSD',
    url='http://www.datarobot.com/',
    packages=find_packages(),
    classifiers=[
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
    ],
    **extra
)


# Path: datarobot_batch_scoring/consts.py
# DEPRECATION_WARNING = (
#     '{yellow}{bold}Deprecation Warning!{reset} '
#     'The Batch Scoring script is deprecated. It will continue functioning '
#     'indefinitely, but it will not receive any new bug fixes and new '
#     'functionality. Please, use the Batch Prediction command-line tools '
#     'instead: '
#     '({underline}https://app.datarobot.com/docs/predictions'
#     '/batch/cli-scripts.html{reset}).'
#     .format(
#         yellow='\033[93m',
#         bold='\033[1m',
#         reset='\033[0m',
#         underline='\033[4m'
#     )
#    )


# Path: setup.py
import sys
import codecs
import os.path
import re
from setuptools import setup, find_packages
from datarobot_batch_scoring.consts import DEPRECATION_WARNING

                             fp.read(), re.M)[0]
    except IndexError:
        raise RuntimeError('Unable to determine version.')


readme_fname = os.path.join(this_directory, 'README.rst')
with codecs.open(readme_fname, 'r', 'utf-8') as f:
    long_description = f.read()


setup(
    name='datarobot_batch_scoring',
    version=version,
    description=("A script to score CSV files via DataRobot's prediction API"),
    long_description=long_description,
    author='DataRobot',
    author_email='support@datarobot.com',
    maintainer='DataRobot',
    maintainer_email='support@datarobot.com',
    license='BSD',
    url='http://www.datarobot.com/',
    packages=find_packages(),
    classifiers=[
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
    ],
    **extra
)


print(DEPRECATION_WARNING)