spack/var/spack/packages/py-setuptools/package.py

16 lines
577 B
Python
Raw Normal View History

from spack import *
class PySetuptools(Package):
"""Easily download, build, install, upgrade, and uninstall Python packages."""
homepage = "https://pypi.python.org/pypi/setuptools"
url = "https://pypi.python.org/packages/source/s/setuptools/setuptools-11.3.tar.gz"
version('11.3.1', '01f69212e019a2420c1693fb43593930')
2015-06-01 23:39:01 +08:00
version('16.0', '0ace0b96233516fc5f7c857d086aa3ad')
2015-08-07 15:03:14 +08:00
version('18.1', 'f72e87f34fbf07f299f6cb46256a0b06')
extends('python')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)