diff --git a/assets/entrypoint.sh b/assets/entrypoint.sh index 09c7325..218f541 100755 --- a/assets/entrypoint.sh +++ b/assets/entrypoint.sh @@ -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..." diff --git a/pyproject.toml b/pyproject.toml index e8b1396..9fb52ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py index 496cca3..224f0dd 100644 --- a/setup.py +++ b/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',