Using a proper dependency management tool: Poetry.
Also, a small change to install.sh should fix relative import errors when using that method of installation.
Other minor changes:
Required Python version is ^3.7
Changed Dockerfile Python version.
Changed TravisCI distro and Python version.
Added .vscode and .venv to .gitignore.
Fix a typo in link.py
Explanation of Changes
Currently, TorBot uses a simple pip freeze and requirements.txt method for managing its dependencies. This has led to some issues, like #177. With the use of a proper dependency management tool, this can be avoided.
Also, issue #198 is resolved by a adding a --paths flag to the pyinstaller command in install.sh. This also fixes the same error when trying to run the Docker image of the app.
closes #198
Changes Proposed
Also, a small change to
install.sh
should fix relative import errors when using that method of installation.Other minor changes:
Explanation of Changes
Currently, TorBot uses a simple pip freeze and requirements.txt method for managing its dependencies. This has led to some issues, like #177. With the use of a proper dependency management tool, this can be avoided.
Also, issue #198 is resolved by a adding a
--paths
flag to thepyinstaller
command ininstall.sh
. This also fixes the same error when trying to run the Docker image of the app.Screenshots of new feature/change