summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-07-17 14:44:56 -0700
committerMonty Taylor <mordred@inaugust.com>2012-07-17 14:44:56 -0700
commite816661a9349fc4ea5656935b9e07a5de37a0266 (patch)
treef9fe28c2b3f22bafd03c14040ec10c5cd0ec1c5a
parent0488634d421a1dd9c9fc4731779ca4807dc3e6d6 (diff)
downloadpbr-e816661a9349fc4ea5656935b9e07a5de37a0266.tar.gz
Skip inferring requirements from entry_points.
Change-Id: Id0af2cafc7216c39ad1aafff8f999922a88468a4
-rw-r--r--setup.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 608f8d0..7f4dd72 100644
--- a/setup.py
+++ b/setup.py
@@ -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="#:",