update
This commit is contained in:
parent
df8ea68e4d
commit
abfc9d28e5
8
Makefile
8
Makefile
@ -13,8 +13,10 @@ check::
|
||||
lint::
|
||||
sh .pylint.sh
|
||||
|
||||
xinstall::
|
||||
${PIP_EXE_MSYS} install --target ${PREFIX}/lib/python3.11/site-packages/ --upgrade .
|
||||
install::
|
||||
${PIP_EXE_MSYS} --python ${PYTHON_EXE_MSYS} install \
|
||||
--target ${PREFIX}/lib/python${PYTHON_MINOR}/site-packages/ \
|
||||
--upgrade .
|
||||
|
||||
rsync::
|
||||
bash .rsync.sh
|
||||
@ -48,7 +50,7 @@ test::
|
||||
TOR_CONTROLLER_PASSWORD=${PASS} ${PYTHON_EXE_MSYS} src/${MOD}/tor_bootstrap_check.py
|
||||
|
||||
doctest:
|
||||
export PYTHONPATH=${PWD}
|
||||
sudo -u tor env PYTHONPATH=${PWD}/src \
|
||||
${DOCTEST} ${MOD}.txt
|
||||
|
||||
veryclean:: clean
|
||||
|
@ -3,9 +3,6 @@ name = "stem_examples"
|
||||
description = "examples of using stem"
|
||||
authors = [{ name = "emdee", email = "emdee@spm.plastiras.org" } ]
|
||||
requires-python = ">=3.6"
|
||||
dependencies = [
|
||||
'stem',
|
||||
]
|
||||
keywords = ["stem", "python3", "tor"]
|
||||
classifiers = [
|
||||
"License :: OSI Approved",
|
||||
@ -49,8 +46,3 @@ build-backend = "setuptools.build_meta"
|
||||
version = {attr = "stem_examples.__version__"}
|
||||
readme = {file = ["README.md", "stem_examples.txt"]}
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["stem_examples"]
|
||||
|
||||
#[tool.setuptools.packages.find]
|
||||
#where = "src"
|
||||
|
@ -19,11 +19,9 @@ classifiers =
|
||||
[options]
|
||||
zip_safe = false
|
||||
python_requires = ~=3.6
|
||||
include_package_data = false
|
||||
include_package_data =
|
||||
"*" = ["*.txt"]
|
||||
install_requires =
|
||||
qasync
|
||||
cryptography
|
||||
rsa
|
||||
stem
|
||||
ruamel.yaml
|
||||
package_dir=
|
||||
|
@ -137,17 +137,6 @@ provides an easy method for accessing this information.
|
||||
INFO Our platform supports connection resolution via: ...
|
||||
<BLANKLINE>
|
||||
|
||||
## interpreter
|
||||
|
||||
>>> print("interpreter", file=sys.stderr)
|
||||
>>> import interpreter
|
||||
>>> lArgs = ['GETINFO', 'version']
|
||||
>>> interpreter.iMain(lArgs) #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
|
||||
250-version=0.4.8.10
|
||||
250 OK
|
||||
<BLANKLINE>
|
||||
0
|
||||
|
||||
## tor_bootstrap_check
|
||||
|
||||
>>> print("tor_bootstrap_check", file=sys.stderr)
|
||||
@ -165,15 +154,26 @@ tor is at. This fails under doctest but not from the cmdline
|
||||
## check_digests
|
||||
|
||||
>>> print("check_digests", file=sys.stderr)
|
||||
>>> from support_testing import ignoreStdout
|
||||
>>> from check_digests import iMain
|
||||
>>> sKNOWN_ONION = 'facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd' # facebook
|
||||
>>> from stem_examples.introduction_points import lMain as lIPMain
|
||||
>>> with ignoreStdout():
|
||||
>>> lArgs = []
|
||||
>>> import stem_examples.support_testing as ts; with ts.ignoreStdout():
|
||||
... lArgs = lIPMain([sKNOWN_ONION])
|
||||
>>> iMain(lArgs)
|
||||
0
|
||||
|
||||
## interpreter
|
||||
|
||||
>>> print("interpreter", file=sys.stderr)
|
||||
>>> import interpreter
|
||||
>>> lArgs = ['GETINFO', 'version']
|
||||
>>> interpreter.iMain(lArgs) #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
|
||||
250-version=0.4.8.10
|
||||
250 OK
|
||||
<BLANKLINE>
|
||||
0
|
||||
|
||||
## outdated_relays List Outdated Relays
|
||||
|
||||
Time marches on. Tor makes new releases, and at some point needs to drop
|
||||
|
Loading…
Reference in New Issue
Block a user