This project is a playground for experimenting with different kronos related auth systems
- Clone this repo
- Create a dedicated virtual environment
ᐅ pyenv virtualenv 2.7.16 kronos-auth-test-2.7.16 New python executable in /Users/starver/.pyenv/versions/2.7.16/envs/kronos-auth-test-2.7.16/bin/python2.7 Also creating executable in /Users/starver/.pyenv/versions/2.7.16/envs/kronos-auth-test-2.7.16/bin/python Installing setuptools, pip, wheel... done.
- Create the pyenv version file at project root with name
.python-version
and contentskronos-auth-test-2.7.16
. - If using PyCharm, set the project interpreter.
- Copy the python location given when you created the virtual env. In the above case:
/Users/starver/.pyenv/versions/2.7.16/envs/kronos-auth-test-2.7.16/bin/python
- Open PyCharm preferences
- Type
interpreter
in the search field at top-left on the dialog - Select Project Interpreter
- Click the settings icon (gear) at top right of the dialog and select "Add..."
- Check "Existing environment" and click the "..." button right of the dropdown
- Paste the python location copied above into the text field and click OK
- Copy the python location given when you created the virtual env. In the above case:
- Install dependencies
pip install -r requirements.txt
The google calendar section (src/gcal
) is this Quickstart
Visit that page, click the "ENABLE THE GOOGLE CALENDAR API" button to create your credentials.json
file and store that file in the private
directory at project root.