Example #1
0
    'six>=1.9,<2',
    'unicodecsv==0.14.1',
    'xlrd>=1'
]


REQUIRES_FOR_PYTHON2_ONLY = [
    'pillow>=3.4.2,<4'
]

EXTRAS_REQUIRE = {
    ':python_version=="2.7"': REQUIRES_FOR_PYTHON2_ONLY,
    'docs': [
        'Sphinx>=1.3,<2',
    ],
    'testing': utils.get_test_requirements_from_tox_ini(TOPDIR),
    'coding-style': [
        'flake8==3.3.0',
        'flake8-isort==2.1.3',
        'flake8-polyfill==1.0.1',
        'isort==4.2.5',
        'pep8-naming==0.4.1'
    ],
}
EXTRAS_REQUIRE['everything'] = list(
    set(sum(EXTRAS_REQUIRE.values(), [])) -  # All extras, but not...
    set(REQUIRES_FOR_PYTHON2_ONLY)  # the Python 2 compatibility things
)


if __name__ == '__main__':
Example #2
0
    'six>=1.9,<2',
    'unicodecsv==0.14.1',
    'xlrd>=1'
]


REQUIRES_FOR_PYTHON2_ONLY = [
    'pillow>=3.4.2,<4'
]

EXTRAS_REQUIRE = {
    ':python_version=="2.7"': REQUIRES_FOR_PYTHON2_ONLY,
    'docs': [
        'Sphinx>=1.3,<2',
    ],
    'testing': utils.get_test_requirements_from_tox_ini(TOPDIR),
    'coding-style': [
        'flake8==3.3.0',
        'flake8-isort==2.1.3',
        'flake8-polyfill==1.0.1',
        'isort==4.2.5',
        'pep8-naming==0.4.1'
    ],
}
EXTRAS_REQUIRE['everything'] = list(
    set(sum(EXTRAS_REQUIRE.values(), [])) -  # All extras, but not...
    set(REQUIRES_FOR_PYTHON2_ONLY)  # the Python 2 compatibility things
)


if __name__ == '__main__':