The dependency on gflags is being removed.

46 views
Skip to first unread message

Joe Gregorio

unread,
Apr 5, 2013, 10:13:14 PM4/5/13
to google-api-p...@googlegroups.com
As discussed here:

https://code.google.com/p/google-api-python-client/issues/detail?id=246

the gflags library is being removed as a dependency in
google-api-python-client and
oauth2client.

This change has already been made to head of the core library and I'm
in the process
of updating all the samples to use the stdlib argparse. This change will go out
in the next (1.2) release.

There were only two uses of gflags in the core library outside of
oauth2client.tools,
and they were:

https://code.google.com/p/google-api-python-client/source/diff?spec=svn3116dcdb8bd9710ed406003aca7a2e8681007e12&r=3116dcdb8bd9710ed406003aca7a2e8681007e12&format=side&path=/apiclient/model.py

and:

https://code.google.com/p/google-api-python-client/source/diff?spec=svn3116dcdb8bd9710ed406003aca7a2e8681007e12&r=3116dcdb8bd9710ed406003aca7a2e8681007e12&format=side&path=/oauth2client/util.py

As you can see in both cases the gflags were replaced with module
level variables.

Thanks,
-joe
Reply all
Reply to author
Forward
0 new messages