fix: vanguards decoupling and project metadata
This commit is contained in:
parent
b0a7d4aea1
commit
e77d847dcc
3 changed files with 15 additions and 1 deletions
|
|
@ -4,6 +4,9 @@
|
|||
ENABLE_VANGUARDS=${ENABLE_VANGUARDS:-true}
|
||||
ENABLE_TOR=${ENABLE_TOR:-true}
|
||||
|
||||
# Sync with internal variable used by Onions.py
|
||||
export TOR_ENABLE_VANGUARDS="$ENABLE_VANGUARDS"
|
||||
|
||||
# If user specifically requests to disable Vanguards
|
||||
if [ "$ENABLE_VANGUARDS" = "false" ]; then
|
||||
echo "Disabling Vanguards service..."
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ packages = [
|
|||
onions = "onions:main"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.10,<3.11"
|
||||
python = ">=3.10,<3.12"
|
||||
Jinja2 = ">=2.10"
|
||||
importlib_metadata = ">=1.6.0"
|
||||
vanguards = "^0.3.1"
|
||||
|
|
|
|||
11
setup.py
11
setup.py
|
|
@ -6,6 +6,17 @@ setup(
|
|||
description='Display onion sites hosted',
|
||||
author='Christophe Mehay',
|
||||
packages=find_packages(),
|
||||
install_requires=[
|
||||
'cryptography>=3.4.7',
|
||||
'stem>=1.8.0',
|
||||
'PyYAML>=6.0',
|
||||
'vanguards>=0.3.1',
|
||||
'pyentrypoint>=0.8.0',
|
||||
'Jinja2>=3.0',
|
||||
'importlib-metadata>=4.0; python_version < "3.10"',
|
||||
'ipy>=1.00',
|
||||
'pytor>=0.1.9',
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'onions=onions:main',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue