easyblock = 'PythonPackage'

name = 'requests'
version = '2.7.0'

homepage = 'https://pypi.python.org/pypi/requests/2.6.0'
description = """Python http for humans"""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

python = 'Python'
pythonversion = '2.7.9'
pyshortver = '.'.join(pythonversion.split('.')[:2])

versionsuffix = '-%s-%s' % (python, pythonversion)

dependencies = [
    (python, pythonversion),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/requests-%s-py%s.egg' % (pyshortver, version, pyshortver)],
}

moduleclass = 'devel'
