From 12e7d802732e052d5de9e5162b9379488cb17a7d Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida Date: Thu, 26 Feb 2015 16:15:50 -0300 Subject: [PATCH] Declare PyChart package name in requirements.txt While calling `pip install -r requirements.txt`, the PyChart tarball is always downloaded even if `pip` has a download cache configured (which it does by default in later versions). This is because `pip` has no way of knowing which package the PyChart tarball contains before downloading and running its `setup.py`. By declaring the PyChart "egg" in `requirements.txt` the tarball is no longer downloaded if it's already in the download cache. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 12ab04ecd51..047bc19d8f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ Jinja2==2.7.3 Mako==1.0.0 MarkupSafe==0.23 Pillow==2.5.1 -http://download.gna.org/pychart/PyChart-1.39.tar.gz +http://download.gna.org/pychart/PyChart-1.39.tar.gz#egg=PyChart PyYAML==3.11 Werkzeug==0.9.6 argparse==1.2.1