Working in Virtual Environments
pipenv to manage python installs and dependencies.
There's a fairly straightforward wiki here, which is more or less the GitHub readme with some additional comments from the maintainers.
The whole idea boils down to:
- You want to know what to install
- You want to know what versions to require
- You want builds and installs to be deterministic (no chance for setup failure)
- You don't want to manage all the details that require the above to work
- Clone the repo
pipenv shell- drops you into a shell where you're using
SPECtate's version of python and its dependencies
pipenv check- ensures you have everything you need (resolve conflicts, error on wrong versions of python, etc)
Installing additional packages is as easy as
pipenv install <package>.
pipenv --help can give you more information and specifics, if you need to do something more involved.