# HG changeset patch # User Manuel Jacob <me@manueljacob.de> # Date 1592151927 -7200 # Sun Jun 14 18:25:27 2020 +0200 # Node ID 0844a2c21bbdb0619dfca21186db6295af265a20 # Parent bf279164db2b4ee3ca6d7dcb9ca62af445ef58bf setup: drop dead code The try clause never failed, so `extra_req` was always empty. Before 21264429a8d4, the try clause tried to import `OrderedDict` from `collections`. 21264429a8d4 removed the import seemingly by oversight. But since we require Python > 2.7, the import wouldn’t fail anyway. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -7,11 +7,6 @@ except: from distutils.core import setup -try: - extra_req = [] -except ImportError: - extra_req = ['ordereddict>=1.1'] - def get_version(relpath): root = dirname(__file__) @@ -39,5 +34,5 @@ packages=['hggit'], package_data={'hggit': ['help/git.rst']}, include_package_data=True, - install_requires=['dulwich>=0.19.0'] + extra_req, + install_requires=['dulwich>=0.19.0'], )