[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] gnu: Add virtualenv.
From: |
Cyril Roelandt |
Subject: |
[PATCH 1/2] gnu: Add virtualenv. |
Date: |
Wed, 12 Feb 2014 00:04:45 +0100 |
* gnu/packages/python.scm (python-virtualenv, python2-virtualenv): New
variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 44e3c14..7e28eda 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -198,6 +198,32 @@ data types.")
"\n\nThis wrapper package provides symbolic links to the python binaries
without version suffix."))))
+(define-public python-virtualenv
+ (package
+ (name "python-virtualenv")
+ (version "1.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/v/virtualenv/"
+ "virtualenv-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pxn5g445xcp3vhcg67dnf67vrnpjrfcl1w700ispi581xhs301h"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; See https://github.com/pypa/virtualenv/pull/561
+ (home-page "http://www.virtualenv.org/")
+ (synopsis "A tool to create isolated Python environments.")
+ (description "
+Virtualenv creates an environment that has its own installation directories,
+that doesn’t share libraries with other virtualenv environments (and optionally
+doesn’t access the globally installed libraries either.")
+ (license x11)))
+
+(define-public python2-virtualenv
+ (package-with-python2 python-virtualenv))
(define-public python-pytz
(package
--
1.8.4.rc3