Skip inferring requirements from entry_points.

Change-Id: Id0af2cafc7216c39ad1aafff8f999922a88468a4
This commit is contained in:
Monty Taylor 2012-07-17 14:44:56 -07:00
parent 0488634d42
commit e816661a93
1 changed files with 9 additions and 0 deletions

View File

@ -13,8 +13,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import pkg_resources
import setuptools
def _fake_require(*args, **kwargs):
"""We need to block this from recursing - we're instaling an
entry_point, which trys to install us while it's getting installed."""
pass
pkg_resources.EntryPoint.require = _fake_require
setuptools.setup(
name="pbr",
version="#:",