blob: 68eb735ad9307891f56966abbaf902e49ccaf1be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from spack import *
class PyCython(Package):
"""The Cython compiler for writing C extensions for the Python language."""
homepage = "https://pypi.python.org/pypi/cython"
url = "https://pypi.python.org/packages/source/C/Cython/cython-0.22.tar.gz"
version('0.21.2', 'd21adb870c75680dc857cd05d41046a4')
version('0.22', '1ae25add4ef7b63ee9b4af697300d6b6')
extends('python')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)
|