commit | 0c0eadc0a042f12c43cb17ede5367b66335dbbc3 | [log] [tgz] |
---|---|---|
author | Ian Cordasco <graffatcolmingov@gmail.com> | Sun Sep 27 19:11:17 2015 |
committer | Ian Cordasco <graffatcolmingov@gmail.com> | Sun Sep 27 19:11:17 2015 |
tree | 22dd1f86823802ee0bdfc121b06326dea7ce0507 | |
parent | b8457ebb24c9a71a63fec5ac28501995ba8134bb [diff] |
Add better logic for loading entry points As noted in the code, setuptools 11.3 deprecated EntryPoint.load and its require parameter. Starting with 11.3 the preferred way is use EntryPoint.require and EntryPoint.resolve as necessary. Unfortunately, those methods do not exist in all versions of setuptools. So we have to check for them and use them when they're available. Otherwise, we fallback to using EntryPoint.load with the require parameter. Closes #59 Closes #90