This repository was archived by the owner on May 28, 2025. It is now read-only.

Description
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:
- set the version in setup.py
- Choose one of the methods for single-sourcing-the-version listed https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-version
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.