[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Add extra dependencies for tests. Remove obsolete
commit b199c3afa122f77201299c05b23be501cc0cd16b
Author: juga0 <juga@xxxxxxxxxx>
Date: Tue Aug 28 15:09:08 2018 +0000
Add extra dependencies for tests. Remove obsolete
---
INSTALL.rst | 34 +++++++++-------------------------
1 file changed, 9 insertions(+), 25 deletions(-)
diff --git a/INSTALL.rst b/INSTALL.rst
index 2fccc46..4041223 100644
--- a/INSTALL.rst
+++ b/INSTALL.rst
@@ -48,35 +48,19 @@ Install the python dependencies::
``sbws`` needs :term:`destination` s to request files from.
Please, see :ref:`deploy` to know how to configure, deploy and run ``sbws``.
-If you would like to use a custom configuration file you can create it in
-``~/.sbws.ini`` or provide ``sbws`` with it via ``-c`` ``--config`` option.
+Installing tests dependencies and running them
+------------------------------------------------
-See the documentation section about configuration files for more information
-about how to create a configuration file.
+To run the tests, extra Python depenencies are needed:
-Tor run the scanner run
-::
-
- sbws scanner
-
-
-[OBSOLETE DO NOT FOLLOW] Virtualenv - Production
-------------------------------------------------------------------------------
-
-Installing
-~~~~~~~~~~
-
-::
+- Flake8_
+- tox_
+- pytest_
+- coverage_
- git clone https://github.com/pastly/simple-bw-scanner.git
- cd simple-bw-scanner
- git checkout v1.5.3
- virtualenv -p python3 venv
- source venv/bin/activate
- pip install --process-dependency-links .
- sbws init
+To install them from ``sbws`` ::
-.. note::
+ pip install .[dev] && pip install .[doc]
Because we relay on a ``-dev`` version of stem, we need to fetch it from
git.torproject.org. Thus ``--process-dependency-links`` is necessary.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits