Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: README.rst

Issue 29989581: Noissue - Update virtualenv instructions (Closed) Base URL: https://hg.adblockplus.org/python-abp/
Left Patch Set: Address comments on PS1 Created Jan. 25, 2019, 11:48 p.m.
Right Patch Set: Add virtualenv comment Created Jan. 29, 2019, 12:35 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 python-abp 1 python-abp
2 ========== 2 ==========
3 3
4 This repository contains a library for working with Adblock Plus filter lists, 4 This repository contains a library for working with Adblock Plus filter lists,
5 a script for rendering diffs between filter lists, and the script that is used 5 a script for rendering diffs between filter lists, and the script that is used
6 for building Adblock Plus filter lists from the form in which they are authored 6 for building Adblock Plus filter lists from the form in which they are authored
7 into the format suitable for consumption by the adblocking software (aka 7 into the format suitable for consumption by the adblocking software (aka
8 rendering). 8 rendering).
9 9
10 .. contents:: 10 .. contents::
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 $ virtualenv venv 221 $ virtualenv venv
222 $ venv/bin/pip install --upgrade python-abp 222 $ venv/bin/pip install --upgrade python-abp
223 223
224 224
225 Then import it with ``reticulate`` in R: 225 Then import it with ``reticulate`` in R:
226 226
227 .. code-block:: R 227 .. code-block:: R
228 228
229 > library(reticulate) 229 > library(reticulate)
230 > use_virtualenv("~/python-abp/env", required=TRUE) 230 > use_virtualenv("~/python-abp/env", required=TRUE) # If using virtualenv
Vasily Kuznetsov 2019/01/28 16:26:34 Maybe we should add a comment (like # this kind of
rhowell 2019/01/29 00:35:47 Done.
231 > abp <- import("abp.filters.rpy") 231 > abp <- import("abp.filters.rpy")
232 232
233 Now you can use the functions with ``abp$functionname``, e.g. 233 Now you can use the functions with ``abp$functionname``, e.g.
234 ``abp.line2dict("@@||g.doubleclick.net/pagead/$subdocument,domain=hon30.org")``. 234 ``abp.line2dict("@@||g.doubleclick.net/pagead/$subdocument,domain=hon30.org")``.
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld