diff --git a/mwclient/client.py b/mwclient/client.py index cf50ea8f49645471052a535a07449d5a6e9e198e..2305127d39f85c38ff2a10d28673ed92d4240bdc 100644 --- a/mwclient/client.py +++ b/mwclient/client.py @@ -7,7 +7,7 @@ import random import sys import weakref import base64 -from collections import OrderedDict +from ordereddict import OrderedDict try: import json diff --git a/setup.py b/setup.py index 902eba6231c2fe6de7ae62fc53dc9dd7888b7128..b49c3af1191845a7710f50bce3bb808dcbbff15c 100644 --- a/setup.py +++ b/setup.py @@ -26,5 +26,5 @@ setup(name='mwclient', url='https://github.com/btongminh/mwclient', license='MIT', packages=['mwclient'], - install_requires=['simplejson', 'requests'] + install_requires=['simplejson', 'requests', 'ordereddict'] )