pastepwn icon indicating copy to clipboard operation
pastepwn copied to clipboard

Database imports

Open d-Rickyy-b opened this issue 6 years ago • 1 comments

  1. There are missing imports in the requirements.txt

  2. Currently when using pastepwn a user needs to download ALL the db connector packages (mongo & mysql currently). Depending on the amount of db connectors which at some point will be supported by pastepwn, it might be stupid to have them all in the same package.


Possible solution(s):

  1. try-except the error and return an error message. This is not elegant but allows everything to be bundeled in one package.
  2. move the database connectors to a different package. That way it's way cleaner but users need to install multiple packages.

d-Rickyy-b avatar Oct 07 '18 21:10 d-Rickyy-b

Optional packages could help fixing this issue.

https://stackoverflow.com/questions/11240285/can-i-define-optional-packages-in-setuptools

d-Rickyy-b avatar Oct 06 '19 02:10 d-Rickyy-b