$ sudo apt-get install libass-dev libpq-dev build-essential
$ sudo apt-get install python3-pip python3-dev
$ sudo pip3 install virtualenvwrapper
$ echo "export VIRTUALENVWRAPPER_PYTHON=`which python3.6`" >> ~/.bashrc
$ echo "alias v.activate=\"source $(which virtualenvwrapper.sh)\"" >> ~/.bashrc
$ source ~/.bashrc
$ v.activate
$ mkvirtualenv --python=$(which python3.6) --no-site-packages github-labels
$ workon github-labels
$ pip install -U pip setuptools wheel requests
Create an personal access token for your account with full permissions selected.
Tip: using following link to learn how: Create personal access token
$ cd path/to/script
$ GITHUB_OAUTH_TOKEN=<your_oath_token>
$ export GITHUB_OAUTH_TOKEN
$ ./github-labels.py <organization-title>
$ cd path/to/script
$ ./igithub-sync-labels.py <organization-title> --token <your_oath_token>
$ ./github-sync-labels.py --help