Utilities for analysis scripts developed in the SteeleLab at TU Delft.
Documentation can be found here.
Open a command prompt and run pip install git+git://github.com/steelelab-delft/stlabutils.git
Clone the repository to your computer using, for example, the GitHub desktop client or git bash.
Install the requirements by opening a command prompt in the repository and running pip install -r requirements.txt
Then add the directory you cloned it to (or any upper folder in the folder tree it is stored in) to your PYTHONPATH, using one of the following methods.
After anaconda installation, there should be a PYTHONPATH variable in My Computer > Properties > Advanced System Settings > Environment Variables >
Add the directory in which the git repos are to this library, for example ;C:\libs
On Gary's mac, my GitHub desktop client stores my local repositories in:
/Users/gsteele/Documents/GitHub
This means that we should add this directory to the PYTHONPATH environment variable. On my mac, I added the following to my .profile file:
export PYTHONPATH="$PYTHONPATH:/Users/gsteele/Documents/GitHub"
Restarting the jupter notebook server in a shell where this environment variable is defined, I can then directly import the stlabutils library (along with any other libraries stored in my GitHub folder).
Same as for macOS (both are UNIX based).
For detailed instructions on setting the python path variable on different platforms, see this stack exchange post.