You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,11 @@ You can see the [full history of the Python API on the documentation site](http:
34
34
35
35
## Updating HTTPLib2
36
36
37
-
1. Download the latest version of HTTPLib2 at https://pypi.org/project/httplib2.
38
-
2. Extract the python2/httplib2 into shotgun_api3/lib/http2lib/python2 without the test folder.
39
-
3. Extract the python3/httplib2 into shotgun_api3/lib/http2lib/python3 without the test folder.
40
-
4. Scan the files for any references to importing httplib2 and make sure they import "from ." instead of "from httplib2" because the library isn't in the Python path.
37
+
The API comes with a copy of the `httplib2` inside the `shotgun_api3/lib` folder. To update the copy to a more recent version of the API, you can run the `update_httplib2.py` script at the root of this repository like this:
38
+
39
+
python update_httplib2.py vX.Y.Z
40
+
41
+
where `vX.Y.Z` is a release found on `httplib2`'s [release page](https://github.com/httplib2/httplib2/releases).
0 commit comments