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