Refactor calcurse-caldav to use httplib2

This will allow much more flexibility and less code duplication when
adding OAuth2 support. OAuth2 support will require this library as it is
a dependency of oauth2client. The documentation was updated to reflect
the new dependency.

Signed-off-by: Randy Ramos <rramos1295@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Randy Ramos
2017-09-06 17:46:19 -04:00
committed by Lukas Fleischer
parent 2d1e6e394d
commit 1e1d61585d
2 changed files with 17 additions and 29 deletions

View File

@@ -18,7 +18,9 @@ Usage
calcurse-caldav requires an up-to-date version of calcurse and a configuration
file located at ~/.calcurse/caldav/config. An example configuration file can be
found under contrib/caldav/config.sample in the calcurse source tree.
found under contrib/caldav/config.sample in the calcurse source tree. You will
also need to install *httplib2* for Python 3 using *pip* (e.g. `pip3 install
--user httplib2`) or your distribution's package manager.
If you run calcurse-caldav for the first time, you need to provide the --init
argument. You can choose between the following initialization modes: