mirror of
https://github.com/inspec/inspec
synced 2024-12-30 06:53:22 +00:00
d5f33f0b99
* Update pip resource for #516 allow user to set path to pip executable Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * support virtualenv path, pip file exec and better logic Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * add tests for the change to the pip path and resource Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * tests are case sensitive, although command line is not Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * use a path verification method instead of a class method Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * use guard clauses instead of conditionals Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * change the control flow to return nil when commands are not available Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * fix the return values when custom pip path is not valid Signed-off-by: Anthony Shaw <anthonyshaw@apache.org> * Refactor pip path detection to fix unit tests Signed-off-by: Adam Leff <adam@leff.co>
9 lines
No EOL
315 B
Text
9 lines
No EOL
315 B
Text
Name: Django
|
|
Version: 1.11.4
|
|
Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
|
|
Home-page: https://www.djangoproject.com/
|
|
Author: Django Software Foundation
|
|
Author-email: foundation@djangoproject.com
|
|
License: BSD
|
|
Location: /path/to/site-packages
|
|
Requires: pytz |