Skip to content

Commit 165bf4c

Browse files
committed
Revert "Merge pull request #177 from msabramo/require_ordereddict_for_py26"
This reverts commit 3b3c103, reversing changes made to 7cce65b. Revert this till #179 is sorted.
1 parent a5efb0e commit 165bf4c

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

setup.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
try:
2-
from setuptools import setup
3-
except ImportError:
4-
from distutils.core import setup
1+
from distutils.core import setup
52
import os
63
import codecs
74

@@ -26,12 +23,6 @@
2623
if os.path.isdir(os.path.join('html5lib', name)) and
2724
not name.startswith('.') and name != 'tests']
2825

29-
install_requires = ['six']
30-
try:
31-
from collections import OrderedDict
32-
except ImportError:
33-
install_requires.append('ordereddict')
34-
3526
current_dir = os.path.dirname(__file__)
3627
with codecs.open(os.path.join(current_dir, 'README.rst'), 'r', 'utf8') as readme_file:
3728
with codecs.open(os.path.join(current_dir, 'CHANGES.rst'), 'r', 'utf8') as changes_file:
@@ -47,5 +38,7 @@
4738
maintainer='James Graham',
4839
maintainer_email='james@hoppipolla.co.uk',
4940
packages=packages,
50-
install_requires=install_requires,
41+
install_requires=[
42+
'six',
43+
],
5144
)

0 commit comments

Comments
 (0)