Installing the gcalcli Python app under windows

rossmcm at gmail.com rossmcm at gmail.com
Sun Nov 29 15:08:26 EST 2015


gcalcli (https://github.com/insanum/gcalcli) is a Python application that provides a command-line interface to Google calendar.  All of the stuff I can find on installation seems to be written for *nix platforms and there is precious little for windows.  I'm wondering if anyone can provide the steps involved in getting this thing going under Windows.

My setup:
 - Windows 10
 - Python 2.7
 - PyDev Eclipse 

I don't want to clone the repository, I just want to get the source files I need and anything else I need to run this utility from a command prompt.

I downloaded a zip file from the GitHuib site and then ran a command line "setup.py install" and this produced a whole lot of output:

----------------------------------------------------------------------------
C:\Users\Public\Documents\Downloads\Python\gcalcli\gcalcli-master>setup.py install
running install
running bdist_egg
running egg_info
creating gcalcli.egg-info
writing requirements to gcalcli.egg-info\requires.txt
writing gcalcli.egg-info\PKG-INFO
writing top-level names to gcalcli.egg-info\top_level.txt
writing dependency_links to gcalcli.egg-info\dependency_links.txt
writing manifest file 'gcalcli.egg-info\SOURCES.txt'
reading manifest file 'gcalcli.egg-info\SOURCES.txt'
writing manifest file 'gcalcli.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
warning: install_lib: 'build\lib' does not exist -- no Python modules to install

creating build
creating build\bdist.win32
creating build\bdist.win32\egg
creating build\bdist.win32\egg\EGG-INFO
installing scripts to build\bdist.win32\egg\EGG-INFO\scripts
running install_scripts
running build_scripts
creating build\scripts-2.7
copying and adjusting gcalcli -> build\scripts-2.7
creating build\bdist.win32\egg\EGG-INFO\scripts
copying build\scripts-2.7\gcalcli -> build\bdist.win32\egg\EGG-INFO\scripts
copying gcalcli.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying gcalcli.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying gcalcli.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying gcalcli.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO
copying gcalcli.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist\gcalcli-3.3.2-py2.7.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing gcalcli-3.3.2-py2.7.egg
Copying gcalcli-3.3.2-py2.7.egg to c:\python27\lib\site-packages
Adding gcalcli 3.3.2 to easy-install.pth file
Installing gcalcli script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\gcalcli-3.3.2-py2.7.egg
Processing dependencies for gcalcli==3.3.2
Searching for oauth2client<=1.4.12
Reading https://pypi.python.org/simple/oauth2client/
Reading http://code.google.com/p/google-api-python-client/
Reading http://github.com/google/oauth2client/
Best match: oauth2client 1.4.12
Downloading https://pypi.python.org/packages/2.7/o/oauth2client/oauth2client-1.4.12-py2.7.egg#md5=8265f6985905a5590c622741980a47e5
Processing oauth2client-1.4.12-py2.7.egg
Moving oauth2client-1.4.12-py2.7.egg to c:\python27\lib\site-packages
Adding oauth2client 1.4.12 to easy-install.pth file

Installed c:\python27\lib\site-packages\oauth2client-1.4.12-py2.7.egg
Searching for google-api-python-client
Best match: google-api-python-client 1.2
Downloading http://google-api-python-client.googlecode.com/files/google-api-python-client-1.2.zip
Processing google-api-python-client-1.2.zip
Writing c:\users\ross\appdata\local\temp\easy_install-a2jaif\google-api-python-client-1.2\setup.cfg
Running google-api-python-client-1.2\setup.py -q bdist_egg --dist-dir c:\users\ross\appdata\local\temp\easy_install-a2jaif\google-api-python-client-1.2\egg-dist-tmp-uumuki
warning: no files found matching '*.json' under directory 'apiclient'
zip_safe flag not set; analyzing archive contents...
Moving google_api_python_client-1.2-py2.7.egg to c:\python27\lib\site-packages
Adding google-api-python-client 1.2 to easy-install.pth file

Installed c:\python27\lib\site-packages\google_api_python_client-1.2-py2.7.egg
Searching for httplib2
Reading https://pypi.python.org/simple/httplib2/
Reading http://code.google.com/p/httplib2/
Reading https://github.com/jcgregorio/httplib2
Best match: httplib2 0.9.2
Downloading https://pypi.python.org/packages/source/h/httplib2/httplib2-0.9.2.zip#md5=404bac4a4e0d10b3ba498ce483c8c456
Processing httplib2-0.9.2.zip
Writing c:\users\ross\appdata\local\temp\easy_install-jps_ft\httplib2-0.9.2\setup.cfg
Running httplib2-0.9.2\setup.py -q bdist_egg --dist-dir c:\users\ross\appdata\local\temp\easy_install-jps_ft\httplib2-0.9.2\egg-dist-tmp-cpfwpj
zip_safe flag not set; analyzing archive contents...
httplib2.__init__: module references __file__
creating c:\python27\lib\site-packages\httplib2-0.9.2-py2.7.egg
Extracting httplib2-0.9.2-py2.7.egg to c:\python27\lib\site-packages
Adding httplib2 0.9.2 to easy-install.pth file

Installed c:\python27\lib\site-packages\httplib2-0.9.2-py2.7.egg
Searching for python-gflags
Reading https://pypi.python.org/simple/python-gflags/
Reading http://code.google.com/p/python-gflags
Best match: python-gflags 2.0
Downloading https://pypi.python.org/packages/source/p/python-gflags/python-gflags-2.0.tar.gz#md5=23c9a793959a54971b1f094b0c6d03b1
Processing python-gflags-2.0.tar.gz
Writing c:\users\ross\appdata\local\temp\easy_install-n_jqlw\python-gflags-2.0\setup.cfg
Running python-gflags-2.0\setup.py -q bdist_egg --dist-dir c:\users\ross\appdata\local\temp\easy_install-n_jqlw\python-gflags-2.0\egg-dist-tmp-0xznni
zip_safe flag not set; analyzing archive contents...
Moving python_gflags-2.0-py2.7.egg to c:\python27\lib\site-packages
Adding python-gflags 2.0 to easy-install.pth file

Installed c:\python27\lib\site-packages\python_gflags-2.0-py2.7.egg
Searching for python-dateutil
Reading https://pypi.python.org/simple/python-dateutil/
Reading http://labix.org/python-dateutil
Reading https://dateutil.readthedocs.org
Best match: python-dateutil 2.4.2
Downloading https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz#md5=4ef68e1c485b09e9f034e10473e5add2
Processing python-dateutil-2.4.2.tar.gz
Writing c:\users\ross\appdata\local\temp\easy_install-5nw3ie\python-dateutil-2.4.2\setup.cfg
Running python-dateutil-2.4.2\setup.py -q bdist_egg --dist-dir c:\users\ross\appdata\local\temp\easy_install-5nw3ie\python-dateutil-2.4.2\egg-dist-tmp-80gzmb
Moving python_dateutil-2.4.2-py2.7.egg to c:\python27\lib\site-packages
Adding python-dateutil 2.4.2 to easy-install.pth file

Installed c:\python27\lib\site-packages\python_dateutil-2.4.2-py2.7.egg
Searching for six>=1.6.1
Reading https://pypi.python.org/simple/six/
Best match: six 1.10.0
Downloading https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55
Processing six-1.10.0.tar.gz
Writing c:\users\ross\appdata\local\temp\easy_install-v1g4z3\six-1.10.0\setup.cfg
Running six-1.10.0\setup.py -q bdist_egg --dist-dir c:\users\ross\appdata\local\temp\easy_install-v1g4z3\six-1.10.0\egg-dist-tmp-_zal4h
no previously-included directories found matching 'documentation\_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
creating c:\python27\lib\site-packages\six-1.10.0-py2.7.egg
Extracting six-1.10.0-py2.7.egg to c:\python27\lib\site-packages
Adding six 1.10.0 to easy-install.pth file

Installed c:\python27\lib\site-packages\six-1.10.0-py2.7.egg
Searching for rsa>=3.1.4
Reading https://pypi.python.org/simple/rsa/
Best match: rsa 3.2.3
Downloading https://pypi.python.org/packages/source/r/rsa/rsa-3.2.3.tar.gz#md5=0e93ca942184650116d84452d4b90253
Processing rsa-3.2.3.tar.gz
Writing c:\users\ross\appdata\local\temp\easy_install-ewgfp0\rsa-3.2.3\setup.cfg
Running rsa-3.2.3\setup.py -q bdist_egg --dist-dir c:\users\ross\appdata\local\temp\easy_install-ewgfp0\rsa-3.2.3\egg-dist-tmp-xaruhh
warning: no files found matching 'README'
zip_safe flag not set; analyzing archive contents...
Moving rsa-3.2.3-py2.7.egg to c:\python27\lib\site-packages
Adding rsa 3.2.3 to easy-install.pth file
Installing pyrsa-encrypt-bigfile-script.py script to C:\Python27\Scripts
Installing pyrsa-encrypt-bigfile.exe script to C:\Python27\Scripts
Installing pyrsa-encrypt-bigfile.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-encrypt-script.py script to C:\Python27\Scripts
Installing pyrsa-encrypt.exe script to C:\Python27\Scripts
Installing pyrsa-encrypt.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-verify-script.py script to C:\Python27\Scripts
Installing pyrsa-verify.exe script to C:\Python27\Scripts
Installing pyrsa-verify.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-sign-script.py script to C:\Python27\Scripts
Installing pyrsa-sign.exe script to C:\Python27\Scripts
Installing pyrsa-sign.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-priv2pub-script.py script to C:\Python27\Scripts
Installing pyrsa-priv2pub.exe script to C:\Python27\Scripts
Installing pyrsa-priv2pub.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-decrypt-script.py script to C:\Python27\Scripts
Installing pyrsa-decrypt.exe script to C:\Python27\Scripts
Installing pyrsa-decrypt.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-decrypt-bigfile-script.py script to C:\Python27\Scripts
Installing pyrsa-decrypt-bigfile.exe script to C:\Python27\Scripts
Installing pyrsa-decrypt-bigfile.exe.manifest script to C:\Python27\Scripts
Installing pyrsa-keygen-script.py script to C:\Python27\Scripts
Installing pyrsa-keygen.exe script to C:\Python27\Scripts
Installing pyrsa-keygen.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\rsa-3.2.3-py2.7.egg
Searching for pyasn1-modules>=0.0.5
Reading https://pypi.python.org/simple/pyasn1_modules/
Best match: pyasn1-modules 0.0.8
Downloading https://pypi.python.org/packages/2.7/p/pyasn1-modules/pyasn1_modules-0.0.8-py2.7.egg#md5=f03fff5bc43106475a64a1c34d4052d7
Processing pyasn1_modules-0.0.8-py2.7.egg
Moving pyasn1_modules-0.0.8-py2.7.egg to c:\python27\lib\site-packages
Adding pyasn1-modules 0.0.8 to easy-install.pth file

Installed c:\python27\lib\site-packages\pyasn1_modules-0.0.8-py2.7.egg
Searching for pyasn1>=0.1.7
Reading https://pypi.python.org/simple/pyasn1/
Best match: pyasn1 0.1.9
Downloading https://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.9-py2.7.egg#md5=08eef0e822233609f6cad55b419ae00c
Processing pyasn1-0.1.9-py2.7.egg
Moving pyasn1-0.1.9-py2.7.egg to c:\python27\lib\site-packages
Adding pyasn1 0.1.9 to easy-install.pth file

Installed c:\python27\lib\site-packages\pyasn1-0.1.9-py2.7.egg
Finished processing dependencies for gcalcli==3.3.2
----------------------------------------------------------------------------

but at the end of this I'm not sure what has happened - it has found my Python installation and copied a whole bunch of stuff there, but there seems to be no trace of a file gcalcli.py on my machine, which is what I was expecting to be created.

Any comments appreciated!




More information about the Python-list mailing list