From 3a3dd5067235eddc5432bb898db32721c8958cab Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 24 Apr 2023 00:16:13 -0500 Subject: [PATCH 1/2] docs: Note that SnakeViz is Python 3.7+ * Note that SnakeViz is supported on Python 3.7+. * Note the last version of SnakeViz to support Python 2 is v2.1.2. * Note that Python 2 is EOL. --- docs/docs/index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 6ba0e22..7fc74c8 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -4,10 +4,9 @@ SnakeViz is a browser based graphical viewer for the output of Python's [cProfile][] module and an alternative to using the standard library [pstats module][pstats]. It was originally inspired by [RunSnakeRun][]. -SnakeViz works on Python 2.7 and Python 3. -SnakeViz itself is still likely to work on Python 2.6, -but official support has been dropped now that [Tornado][] no longer -supports Python 2.6. +SnakeViz works on Python 3.7+. +SnakeViz v2.1.2 and older are still likely to work on Python 2.7, +but official support has been dropped now Python 2 is EOL. ## Installation From 554b3ee0101b01b3d30a1a9ed4c3538011b7d1a6 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 24 Apr 2023 00:16:58 -0500 Subject: [PATCH 2/2] docs: Use 'python -m pip' pattern * Advocate for 'python -m pip' pattern which is the only way to be truly sure that the pip being used is the pip for the Python runtime you want. --- docs/docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 7fc74c8..3a135fa 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -13,7 +13,7 @@ but official support has been dropped now Python 2 is EOL. SnakeViz is available [on PyPI][pypi]. Install with [pip][]: ``` -pip install snakeviz +python -m pip install snakeviz ``` ## Starting SnakeViz