Closed twneale closed 5 years ago
Hi @twneale
Agreed on sshpass,we can tell the users to install it themselves,but why remove rest of the installation steps?
I think it would help to remove the sudo
from all of the steps in setup.py
. The README already suggests running it as sudo
(which can be a good or a bad thing depending on a lot of factors), so sudo
in setup.py
is redundant. Removing sudo
would also allow people to install cs-suite into a virtualenv.
Semi-unrelated, the filename setup.py
is a convention for using setuptools
to distribute libraries, so it may confuse people that this setup.py
does something different. It might help to rename the file to install.py
or something like that.
bump @shivankar-madaan in agreement with @twneale here. I updated https://github.com/SecurityFTW/cs-suite/pull/39 to remove setup.py
and update docs to reflect how to install using virtualenv + python, once that is merge feel free to close this pull request as well.
thanks @d1vious
Merged it!!
Why on earth would this package try to sudo via a suprocess.call shell command in setup.py? The correct way to depend on sshpass is to note it as a dependency and let users install it themselves.