Commit 89e4c1c4 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Get rid of OrderedDict dependency for python<=2.6

parent c3857b7d
......@@ -39,7 +39,7 @@ from ConfigParser import RawConfigParser, NoOptionError, NoSectionError
try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict
from kamaki.clients.commissioning.utils.ordereddict import OrderedDict
# Path to the file that stores the configuration
......
......@@ -47,9 +47,6 @@ requires = ['objpool']
if version_info[:1] == (2, 6):
requires.append('argparse')
if not hasattr(collections, "OrderedDict"): # Python 2.6
requires.append("ordereddict")
setup(
name='kamaki',
version=kamaki.__version__,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment