Skip inferring requirements from entry_points.
Change-Id: Id0af2cafc7216c39ad1aafff8f999922a88468a4
This commit is contained in:
parent
0488634d42
commit
e816661a93
9
setup.py
9
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="#:",
|
||||
|
|
Loading…
Reference in New Issue