Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry Implementation #206

Merged
merged 11 commits into from
Apr 9, 2021

Conversation

neolight1010
Copy link
Contributor

@neolight1010 neolight1010 commented Apr 6, 2021

closes #198

Changes Proposed

  • 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.

Screenshots of new feature/change

imagen

@neolight1010 neolight1010 marked this pull request as ready for review April 6, 2021 21:56
@neolight1010
Copy link
Contributor Author

There are some fields in both of the pyproject.toml files that I don't know whether they are right or not. These are: version, authors, and license.

Copy link
Member

@PSNAppz PSNAppz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neolight1010 Looks good to me. :)

License is GNU General Public License v3.0, which is correct in the .toml file.
v1.3 is our latest release version.
Authors for now you can leave it as dedsecinside. Later we'll add the names of all our contributors.

Copy link
Member

@KingAkeem KingAkeem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code lgtm, great work!

@PSNAppz PSNAppz merged commit dac313f into DedSecInside:dev Apr 9, 2021
@neolight1010 neolight1010 deleted the Feature_PoetryImplementation branch April 9, 2021 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'modules'
3 participants