diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-05-04 20:00:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-05-04 20:00:03 +0000 |
commit | 8c22c67bdafbe44e1c5779fdc35befd045c3acc5 (patch) | |
tree | e199a5e7f7e0ebaf420d221a4f61fcda3580f86d | |
parent | bcb2022eb069a72c2e8c47b1777f46ccd9ec6535 (diff) | |
parent | ad16aa2f3edf1b63527108dd80f1dd02843b690b (diff) | |
download | pbr-8c22c67bdafbe44e1c5779fdc35befd045c3acc5.tar.gz |
Merge "Stop re-invoking pip"
-rw-r--r-- | pbr/packaging.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py index 9ed1dbb..4b47043 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -179,27 +179,11 @@ class LocalInstall(install.install): Force a non-egg installed in the manner of single-version-externally-managed, which allows us to install manpages and config files. - - Because non-egg installs bypass the depend processing machinery, we - need to do our own. Because easy_install is evil, just use pip to - process our requirements files directly, which means we don't have to - do crazy extra processing. - - Bypass installation if --single-version-externally-managed is given, - so that behavior for packagers remains the same. """ command_name = 'install' def run(self): - option_dict = self.distribution.get_option_dict('pbr') - if (not self.single_version_externally_managed - and self.distribution.install_requires): - _pip_install( - self.distribution.dependency_links, - self.distribution.install_requires, self.root, - option_dict=option_dict) - return du_install.install.run(self) |