easyblock = "PythonPackage" name = 'Cython' version = '0.16' homepage = 'https://pypi.local_python.org/pypi/Cython/' description = """The Cython language makes writing C extensions for the Python language as easy as Python itself. Cython is a source code translator based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.""" toolchain = {'name': 'goolf', 'version': '1.4.10'} source_urls = [PYPI_SOURCE] sources = [SOURCE_TAR_GZ] local_python = 'Python' local_pythonver = '2.7.3' local_pythonshortver = '.'.join(local_pythonver.split('.')[0:2]) local_pylibdir = 'lib/local_python%s/site-packages' % local_pythonshortver versionsuffix = '-%s-%s' % (local_python, local_pythonver) dependencies = [(local_python, local_pythonver)] sanity_check_paths = { 'files': ['bin/cygdb', 'bin/cython', '%s/%%(namelower)s.py' % local_pylibdir], 'dirs': ['%s/%%(name)s' % local_pylibdir], } moduleclass = 'lang'