summaryrefslogtreecommitdiff
path: root/var/spack/packages/py-setuptools/package.py
blob: 755288d55c3d0108c8afaf8fddc6c38300757351 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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')

    extends('python')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)