easyblock = "PythonPackage"

name = 'sympy'
version = '0.7.6'

homepage = 'http://sympy.org/'
description = """SymPy is a Python library for symbolic mathematics. It aims to
 become a full-featured local_computer algebra system (CAS) while keeping the code as
 simple as possible in order to be local_comprehensible and easily extensible. SymPy
 is written entirely in Python and does not require any external libraries."""

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

source_urls = [
    'https://github.com/sympy/sympy/releases/download/sympy-%(version)s/']
sources = [SOURCE_TAR_GZ]

local_python = "Python"
local_pythonversion = '2.7.9'
local_pythonshortversion = '.'.join(local_pythonversion.split('.')[:-1])

versionsuffix = "-%s-%s" % (local_python, local_pythonversion)

dependencies = [(local_python, local_pythonversion)]

runtest = 'local_python setup.py test'

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/local_python%s/site-packages/sympy' % local_pythonshortversion],
}

skipsteps = ['test']

moduleclass = 'math'
