@@ -5,21 +5,20 @@ There are 3 main ways you can install ScanCode.
55
66- :ref: `app_install `
77
8- The recommended method for installing ScanCode is Downloading the latest release, as an
8+ The recommended method for installing ScanCode is Downloading the latest release as an
99 application and then configure and use directly. This is easy because no knowledge of pip/git
1010 or other developer tools is necessary.
1111
12- - :ref: `pip_install `
13-
14- The fastest way to install ScanCode as a python package, using ``pip ``. You can also install
15- ScanCode by compiling it from source or by Downloading and Configuring the
16- latest release from GitHub.
17-
1812- :ref: `source_code_install `
1913
2014 You can download/clone the source code repository via git/GitHub and then run a configure script
2115 to install ScanCode.
2216
17+ - :ref: `pip_install `
18+
19+ To use ScanCode as a library in your application, you can install it via ``pip ``. This is
20+ recommended for developers/users familiar with Package managers/virtualenv.
21+
2322----
2423
2524Before Installing
@@ -50,7 +49,7 @@ ScanCode needs a Python 3.6 (*highly recommended*) or a Python 2.7 interpreter.
5049
5150.. Note ::
5251
53- ScanCode currently doesn't support Python 3.7.x or 3.8 .x, though support will be added soon.
52+ ScanCode currently doesn't support versions above Python 3.6 .x, though support will be added soon.
5453
5554- **On Linux **:
5655
@@ -235,39 +234,6 @@ Un-installation
235234
236235----
237236
238- .. _pip_install :
239-
240- Installation as a library: via ``pip ``
241- --------------------------------------
242-
243- ScanCode can be easily installed using ``pip ``. The steps are:
244-
245- #. Create a Python 3.6 Virtual Environment::
246-
247- virtualenv -p /usr/bin/python3.6 venv-scancode
248-
249- For more information on Python virtualenv, visit this `page <https://docs.python-guide.org/dev/virtualenvs/#lower-level-virtualenv >`_.
250-
251- #. Activate the Virtual Environment you just created::
252-
253- source venv-scancode/bin/activate
254-
255- #. Run ``pip install scancode-toolkit `` to install the latest version of Scancode.
256-
257- .. NOTE ::
258-
259- If you use Python 2.7, scancode-toolkit Version 3.0.2 is installed by default. For Python 3
260- the latest version of Scancode Toolkit is installed by default. Requesting a specific version
261- through ``pip install `` for Python 3 will give Errors if the Version isn't 3.1.x or later.
262-
263- .. WARNING ::
264-
265- Python 3.7.x and 3.8.x is not supported yet.
266-
267- To uninstall, run ``pip uninstall scancode-toolkit ``.
268-
269- ----
270-
271237.. _source_code_install :
272238
273239Installation from Source Code: Git Clone
@@ -327,6 +293,39 @@ Now you are ready to use the freshly configured scancode-toolkit.
327293
328294----
329295
296+ .. _pip_install :
297+
298+ Installation as a library: via ``pip ``
299+ --------------------------------------
300+
301+ ScanCode can be installed using ``pip ``, the default Python Package Manager. The steps are:
302+
303+ #. Create a Python 3.6 Virtual Environment::
304+
305+ virtualenv -p /usr/bin/python3.6 venv-scancode
306+
307+ For more information on Python virtualenv, visit this `page <https://docs.python-guide.org/dev/virtualenvs/#lower-level-virtualenv >`_.
308+
309+ #. Activate the Virtual Environment you just created::
310+
311+ source venv-scancode/bin/activate
312+
313+ #. Run ``pip install scancode-toolkit `` to install the latest version of Scancode.
314+
315+ .. NOTE ::
316+
317+ If you use Python 2.7, scancode-toolkit Version 3.0.2 is installed by default. For Python 3
318+ the latest version of Scancode Toolkit is installed by default. Requesting a specific version
319+ through ``pip install `` for Python 3 will give Errors if the Version isn't 3.1.x or later.
320+
321+ .. WARNING ::
322+
323+ Python 3.7.x and 3.8.x is not supported yet.
324+
325+ To uninstall, run ``pip uninstall scancode-toolkit ``.
326+
327+ ----
328+
330329.. _commands_variation :
331330
332331Commands Variation
0 commit comments