Skip to content

Commit

Permalink
Use the ordereddict pypi package when needed
Browse files Browse the repository at this point in the history
Instead of having a vendored ordereddict in odict.py
just use the one that comes via pypi that can be removed
for versions of python where it is not needed (2.7 and
newer).
  • Loading branch information
Joshua Harlow committed Apr 20, 2015
1 parent db7f0af commit 5f8ac4a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 263 deletions.
2 changes: 1 addition & 1 deletion funcsigs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
try:
from collections import OrderedDict
except ImportError:
from funcsigs.odict import OrderedDict
from ordereddict import OrderedDict

from funcsigs.version import __version__

Expand Down
261 changes: 0 additions & 261 deletions funcsigs/odict.py

This file was deleted.

1 change: 1 addition & 0 deletions requirements/production.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ordereddict
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def load_rst(filename='docs/source/guide_content.rst'):
long_description=open('README.rst').read(),
# long_description=load_rst(),
license="ASL",
install_requires = [],
install_requires = ['ordereddict'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 5f8ac4a

Please sign in to comment.