easyblock = 'PythonPackage'

name = 'prompt-toolkit'
version = '1.0.6'
versionsuffix = '-Python-%(local_pyver)s'

homepage = 'https://github.com/jonathanslenders/python-prompt-toolkit'
description = """prompt_toolkit is a Python library for building powerful interactive command lines and terminal applications."""

toolchain = {'name': 'intel', 'version': '2016b'}

source_urls = [
    'https://pypi.python.org/packages/eb/81/a7ad3c223f323d05381208c262889bd09577852bd5044a13965a9a13f5ed/']
sources = ['prompt_toolkit-%(version)s-py2-none-any.whl']

dependencies = [
    ('Python', '2.7.12'),
    ('wcwidth', '0.1.7', versionsuffix),
]
builddependencies = [
    ('pip', '8.1.2', versionsuffix),
]

use_pip = True
unpack_sources = False

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%(local_pyshortver)s/site-packages/prompt_toolkit'],
}

options = {'modulename': 'prompt_toolkit'}

moduleclass = 'lib'
