1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/docs
Oz N Tiram 4370a5a37b Add a global option to disable colors (#4739)
* Add a global option to disable colors

 This is a fix for issue #2449

 All it does is simply add a global option --no-color

 Internally it switches ColorizedStreamHandler to StreamHandler if
 this flag is detected.

* Fix lint errors

 * not sure it makes the code more readable though ...

* Fix typo

* Choose logging class before assigning

 * As requested per review
 * Make the code shorter and easier to follow

* Be polite to followers, add commas

* Add functional test for the --no-color output

* Better detection of windows

* Fix fragile tests - can't trust script --quiet

 * The version found in Travis-CI does not respect this flag
   It added a prefix line and suffix line found if one does not
   add the flag --quiet (script from util-linux 2.26.2).

   As such the out  put is:

     Script started on Fri 27 Oct 2017 07:17:30 AM CEST
     \x1b[31mCannot uninstall requirement noSuchPackage, not installed\x1b[0m\n

     Script done on Fri 27 Oct 2017 07:17:31 AM CEST

  With this change, the test should pass, and is hopefully more stable.

* Simplify testing for color or no-color
2017-11-05 15:23:57 +05:30
..
man Add man pages for pip (#4491) 2017-07-05 19:56:13 -04:00
reference Add a global option to disable colors (#4739) 2017-11-05 15:23:57 +05:30
__init__.py Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
conf.py Add a debugging statement to conf.py 2017-10-20 21:17:32 +05:30
configuration.rst Configuration - Documentation updates (#4556) 2017-06-24 13:24:13 -04:00
cookbook.rst pip docs refactor 2014-02-11 22:13:03 -08:00
development.rst Fixed #1234 -- linkify mailing list 2017-03-22 12:49:49 -04:00
index.rst Polish docs and change theme (#4758) 2017-10-07 17:45:27 +01:00
installing.rst Update installing.rst (#3890) 2017-07-27 20:04:04 +01:00
logic.rst pip docs refactor 2014-02-11 22:13:03 -08:00
make.bat Polish docs and change theme (#4758) 2017-10-07 17:45:27 +01:00
Makefile Polish docs and change theme (#4758) 2017-10-07 17:45:27 +01:00
news.rst Generate our NEWS.rst with towncrier 2017-03-19 12:00:31 -04:00
pipext.py Strip usage in the documentation 2017-10-03 22:37:10 +05:30
quickstart.rst Fine tuning docs about installing downloaded package 2016-05-17 16:26:42 +03:00
usage.rst pip docs refactor 2014-02-11 22:13:03 -08:00
user_guide.rst Documentation fixes (#4831) 2017-11-03 22:30:13 +05:30