Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sbws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
juga
sbws
Commits
7bbdc714
Commit
7bbdc714
authored
4 years ago
by
juga
Browse files
Options
Downloads
Patches
Plain Diff
fix: doc: Recommend pip only for development
or testing and add links.
parent
9adc9575
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.rst
+28
-9
28 additions, 9 deletions
INSTALL.rst
with
28 additions
and
9 deletions
INSTALL.rst
+
28
−
9
View file @
7bbdc714
...
...
@@ -24,12 +24,6 @@ System requirements
- Tor (last stable version is recommended)
- Python 3 (>= 3.6)
- virtualenv_ (while there is not ``stem`` release > 1.6.0, it is
recommended to install the required python dependencies in a virtualenv)
In Debian::
sudo apt install tor python3 virtualenv
Python dependencies
--------------------
...
...
@@ -37,9 +31,30 @@ Python dependencies
- Stem_ >= 1.7.0
- Requests_ (with socks_ support) >= 2.10.0
To install the Python dependencies, create a ``virtualenv`` first
It is recommend to install the dependencies from your system package manager.
If that is not possible, because the Python dependencies are not available in
your system, you can install them from their sources.
We only recommend using pip_ for development or testing.
Installing sbws from source
---------------------------
Clone ``sbws``::
git clone https://git.torproject.org/sbws.git
and install it::
cd sbws
python3 setup.py install
::
Installing sbws for development or testing
------------------------------------------
If you use pip_, it is recommended to use virtualenv_, to avoid having
different versions of the same libraries in your system.
To create a ``virtualenv``::
virtualenv venv -p /usr/bin/python3
source venv/bin/activate
...
...
@@ -50,7 +65,10 @@ Clone ``sbws``::
Install the python dependencies::
cd sbws && pip install .
cd sbws && pip install -e .
Configuration and deployment
----------------------------
``sbws`` needs :term:`destination` s to request files from.
...
...
@@ -97,3 +115,4 @@ are 10MB and it will keep 50 rotated log files.
.. _port: https://www.freshports.org/net/py-sbws/
.. _Debian: https://packages.debian.org/search?keywords=sbws&searchon=names&suite=all§ion=all
.. _Ubuntu: https://packages.ubuntu.com/search?keywords=sbws&searchon=names&suite=all§ion=all
.. _pip: https://pypi.org/project/pip/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment