#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of configparser_extended library
# released under the MIT license.
# See the LICENSE file for more information.

from setuptools import setup, find_packages

DESCRIPTION = ("A python configparser extension")

try:
    with open('PIP.rst') as f:
        LONG_DESCRIPTION = f.read()
except IOError:
    LONG_DESCRIPTION = DESCRIPTION

with open('pip-requirements.txt') as reqs:
    install_requires = [
        line for line in reqs.read().split('\n')
        if (line and not line.startswith('--'))
    ]
setup(
    name='configparser_extended',
    version="0.0.1",
    author="Florian PORTUGAU, Fabien MARTY",
    author_email="florian.portugau@hotmail.fr, fabien.marty@gmail.com",
    url="https://github.com/thefab/configparser_extended",
    packages=find_packages(),
    license='MIT',
    download_url='https://github.com/thefab/configparser_extended',
    description=DESCRIPTION,
    long_description=LONG_DESCRIPTION,
    install_requires=install_requires,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)

@@ -174,16 +174,27 @@
 ation.%0A%0A
+import sys%0A
 from set
@@ -569,22 +569,133 @@
 h('--'))
-%0A    %5D
+ and (%22;%22 not in line)%0A    %5D%0A%0Aif sys.version_info%5B:2%5D %3C (3, 5):%0A    install_requires.append(%22configparser%3E=3.5.0b2%22)%0A
 %0Asetup(%0A

fix build