diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2015-09-27 14:11:17 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2015-09-27 14:11:17 -0500 |
| commit | 0c0eadc0a042f12c43cb17ede5367b66335dbbc3 (patch) | |
| tree | 22dd1f86823802ee0bdfc121b06326dea7ce0507 /setup.py | |
| parent | b8457ebb24c9a71a63fec5ac28501995ba8134bb (diff) | |
| download | flake8-bug/90.tar.gz | |
Add better logic for loading entry pointsbug/90
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
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
