Skip to content

Commit

Permalink
Depends on the ordereddict module if python_version<2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rnoel authored and ask committed Aug 3, 2011
1 parent b39ee98 commit d06ad3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements/py25.txt
@@ -1,2 +1,3 @@
multiprocessing==2.6.2.1
importlib
ordereddict
1 change: 1 addition & 0 deletions requirements/py26.txt
@@ -1 +1,2 @@
importlib
ordereddict
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -55,6 +55,8 @@ def run(self, *args, **kwargs):
py_version = sys.version_info
is_jython = sys.platform.startswith("java")
is_pypy = hasattr(sys, "pypy_version_info")
if sys.version_info < (2, 7):
install_requires.append("ordereddict") # Replacement for the ordered dict
if sys.version_info < (2, 6) and not (is_jython or is_pypy):
install_requires.append("multiprocessing")
if sys.version_info < (2, 5):
Expand Down

0 comments on commit d06ad3b

Please sign in to comment.