shakthiasareri / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

Missing dependency from setup.py #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add uritemplate to the setup.py required packages.

What steps will reproduce the problem?
1. virtualenv ve # just to get a clean environment
2. source ve/bin/activate
3. pip install oauth2client
4. ipython
5. from oauth2client import gce

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-2a9985319488> in <module>()
----> 1 from oauth2client import gce

/Users/schwehr/Desktop/ve/lib/python2.7/site-packages/oauth2client/gce.py in 
<module>()
     22 import httplib2
     23 import logging
---> 24 import uritemplate
     25 
     26 from oauth2client import util

ImportError: No module named uritemplate

What is the expected output? What do you see instead?

I expect the import to succeed, even if I'm not on a gce instance.

What version of the product are you using? On what operating system?

Demonstrated on a mac 10.8 w/ fink python 2.7

Please provide any additional information below.

Original issue reported on code.google.com by schw...@gmail.com on 15 May 2013 at 3:12

GoogleCodeExporter commented 9 years ago
Already fixed in head, will go out in the 1.2 release:

https://code.google.com/p/google-api-python-client/source/browse/setup_oauth2cli
ent.py?r=1a9828bf14c50ad9ffda6f9f6b4344179c0b920b

Original comment by jcgregorio@google.com on 15 May 2013 at 3:18