summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJoseph Ciurej <ciurej1@llnl.gov>2016-07-22 11:17:19 -0700
committerJoseph Ciurej <ciurej1@llnl.gov>2016-07-22 11:17:19 -0700
commitfa92f58167352efa21c787bf38e878ad471484f8 (patch)
tree6780003b7c620f3b546a0c939a8a0f88cab87465 /var
parentac2e0962ce64a5b0824e79ad4266cbdb6207b336 (diff)
downloadspack-fa92f58167352efa21c787bf38e878ad471484f8.tar.gz
spack-fa92f58167352efa21c787bf38e878ad471484f8.tar.bz2
spack-fa92f58167352efa21c787bf38e878ad471484f8.tar.xz
spack-fa92f58167352efa21c787bf38e878ad471484f8.zip
Adding temporary script that fixes all Python extensions w/ 'setup_py'.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools/package.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-setuptools/package.py b/var/spack/repos/builtin/packages/py-setuptools/package.py
index 68032cb68d..08d5e5d552 100644
--- a/var/spack/repos/builtin/packages/py-setuptools/package.py
+++ b/var/spack/repos/builtin/packages/py-setuptools/package.py
@@ -24,8 +24,11 @@
##############################################################################
from spack import *
+
class PySetuptools(Package):
- """Easily download, build, install, upgrade, and uninstall Python packages."""
+ """A Python utility that aids in the process of downloading, building,
+ upgrading, installing, and uninstalling Python packages."""
+
homepage = "https://pypi.python.org/pypi/setuptools"
url = "https://pypi.python.org/packages/source/s/setuptools/setuptools-11.3.tar.gz"
@@ -40,4 +43,4 @@ class PySetuptools(Package):
extends('python')
def install(self, spec, prefix):
- python('setup.py', 'install', '--prefix=%s' % prefix)
+ setup_py('install', '--prefix=%s' % prefix)