If you try to install python-jss from source using pip install, you get several errors that you need to install six, requests, etc.
pip is capable of installing these dependencies for python-jss, but can't because setup.py is trying to import jss and failing on the dependencies (chicken and the egg scenario)
By doing this it will simplify the installation of python-jss.
After some discussion on this, I'm glad to submit a pull request for the change.
Personally, since the version isn't used anywhere except setup.py currently, I'd recommend we set it statically in setup.py, and can revisit that in the future.
If you try to install python-jss from source using pip install, you get several errors that you need to install six, requests, etc.
pip
is capable of installing these dependencies for python-jss, but can't because setup.py is trying to import jss and failing on the dependencies (chicken and the egg scenario)There are multiple ways to solve this:
By doing this it will simplify the installation of python-jss.
After some discussion on this, I'm glad to submit a pull request for the change.
Personally, since the version isn't used anywhere except setup.py currently, I'd recommend we set it statically in setup.py, and can revisit that in the future.