""" Distribution configuration for ItemCatalog"""
# pylint: disable=R0801
import os
from setuptools import setup
from setuptools import find_packages
import pip
from pip.req import parse_requirements
from optparse import Option


VERSION = "0.0.0"


def parse_reqs(reqs_file):
    ''' parse the requirements '''
    options = Option('--workaround')
    options.skip_requirements_regex = None
    # Hack for old pip versions
    # Versions greater than 1.x have a required parameter "sessions" in
    # parse_requierements
    if pip.__version__.startswith('1.'):
        install_reqs = parse_requirements(reqs_file, options=options)
    else:
        from pip.download import PipSession  # pylint:disable=E0611
        options.isolated_mode = False
        install_reqs = parse_requirements(reqs_file,  # pylint:disable=E1123
                                          options=options,
                                          session=PipSession)

    return [str(ir.req) for ir in install_reqs]


BASEDIR = os.path.dirname(os.path.abspath(__file__))
REQS = parse_reqs(os.path.join(BASEDIR, 'requirements.txt'))

config = {
    'description': 'NeuroM: a light-weight neuron morphology analysis package',
    'author': 'Juan Palacios',
    'url': 'https://github.com/juanchopanza/ItemCatalog',
    'author_email': 'juan.palacios.puyana@gmail.com',
    'version': VERSION,
    'install_requires': REQS,
    'packages': find_packages(),
    'scripts': ['run.py',
                'init_db.py',
                'itemcatalog.wsgi',
                ],
    'name': 'itemcatalog',
    'include_package_data': True,
}

setup(**config)

269de0c7b6ec69cbf4ef3b72836239404b6f6ace
<mask token>


def parse_reqs(reqs_file):
    """ parse the requirements """
    options = Option('--workaround')
    options.skip_requirements_regex = None
    if pip.__version__.startswith('1.'):
        install_reqs = parse_requirements(reqs_file, options=options)
    else:
        from pip.download import PipSession
        options.isolated_mode = False
        install_reqs = parse_requirements(reqs_file, options=options,
            session=PipSession)
    return [str(ir.req) for ir in install_reqs]


<mask token>

<mask token>


def parse_reqs(reqs_file):
    """ parse the requirements """
    options = Option('--workaround')
    options.skip_requirements_regex = None
    if pip.__version__.startswith('1.'):
        install_reqs = parse_requirements(reqs_file, options=options)
    else:
        from pip.download import PipSession
        options.isolated_mode = False
        install_reqs = parse_requirements(reqs_file, options=options,
            session=PipSession)
    return [str(ir.req) for ir in install_reqs]


<mask token>
setup(**config)

<mask token>
VERSION = '0.0.0'


def parse_reqs(reqs_file):
    """ parse the requirements """
    options = Option('--workaround')
    options.skip_requirements_regex = None
    if pip.__version__.startswith('1.'):
        install_reqs = parse_requirements(reqs_file, options=options)
    else:
        from pip.download import PipSession
        options.isolated_mode = False
        install_reqs = parse_requirements(reqs_file, options=options,
            session=PipSession)
    return [str(ir.req) for ir in install_reqs]


BASEDIR = os.path.dirname(os.path.abspath(__file__))
REQS = parse_reqs(os.path.join(BASEDIR, 'requirements.txt'))
config = {'description':
    'NeuroM: a light-weight neuron morphology analysis package', 'author':
    'Juan Palacios', 'url': 'https://github.com/juanchopanza/ItemCatalog',
    'author_email': 'juan.palacios.puyana@gmail.com', 'version': VERSION,
    'install_requires': REQS, 'packages': find_packages(), 'scripts': [
    'run.py', 'init_db.py', 'itemcatalog.wsgi'], 'name': 'itemcatalog',
    'include_package_data': True}
setup(**config)

<mask token>
import os
from setuptools import setup
from setuptools import find_packages
import pip
from pip.req import parse_requirements
from optparse import Option
VERSION = '0.0.0'


def parse_reqs(reqs_file):
    """ parse the requirements """
    options = Option('--workaround')
    options.skip_requirements_regex = None
    if pip.__version__.startswith('1.'):
        install_reqs = parse_requirements(reqs_file, options=options)
    else:
        from pip.download import PipSession
        options.isolated_mode = False
        install_reqs = parse_requirements(reqs_file, options=options,
            session=PipSession)
    return [str(ir.req) for ir in install_reqs]


BASEDIR = os.path.dirname(os.path.abspath(__file__))
REQS = parse_reqs(os.path.join(BASEDIR, 'requirements.txt'))
config = {'description':
    'NeuroM: a light-weight neuron morphology analysis package', 'author':
    'Juan Palacios', 'url': 'https://github.com/juanchopanza/ItemCatalog',
    'author_email': 'juan.palacios.puyana@gmail.com', 'version': VERSION,
    'install_requires': REQS, 'packages': find_packages(), 'scripts': [
    'run.py', 'init_db.py', 'itemcatalog.wsgi'], 'name': 'itemcatalog',
    'include_package_data': True}
setup(**config)

""" Distribution configuration for ItemCatalog"""
# pylint: disable=R0801
import os
from setuptools import setup
from setuptools import find_packages
import pip
from pip.req import parse_requirements
from optparse import Option


VERSION = "0.0.0"


def parse_reqs(reqs_file):
    ''' parse the requirements '''
    options = Option('--workaround')
    options.skip_requirements_regex = None
    # Hack for old pip versions
    # Versions greater than 1.x have a required parameter "sessions" in
    # parse_requierements
    if pip.__version__.startswith('1.'):
        install_reqs = parse_requirements(reqs_file, options=options)
    else:
        from pip.download import PipSession  # pylint:disable=E0611
        options.isolated_mode = False
        install_reqs = parse_requirements(reqs_file,  # pylint:disable=E1123
                                          options=options,
                                          session=PipSession)

    return [str(ir.req) for ir in install_reqs]


BASEDIR = os.path.dirname(os.path.abspath(__file__))
REQS = parse_reqs(os.path.join(BASEDIR, 'requirements.txt'))

config = {
    'description': 'NeuroM: a light-weight neuron morphology analysis package',
    'author': 'Juan Palacios',
    'url': 'https://github.com/juanchopanza/ItemCatalog',
    'author_email': 'juan.palacios.puyana@gmail.com',
    'version': VERSION,
    'install_requires': REQS,
    'packages': find_packages(),
    'scripts': ['run.py',
                'init_db.py',
                'itemcatalog.wsgi',
                ],
    'name': 'itemcatalog',
    'include_package_data': True,
}

setup(**config)
