mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
python: use pip instead of python setup.py
python setup.py develop may try to pull dependencies from the net and has no way to collect them from the wheelhouse that was populated by install-deps.sh. Use pip install -e instead Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
parent
63e671a979
commit
c1d8faad26
@ -56,7 +56,7 @@ EXTRA_DIST += \
|
||||
ceph-detect-init-all: ceph-detect-init/virtualenv
|
||||
|
||||
ceph-detect-init/virtualenv:
|
||||
cd $(srcdir)/ceph-detect-init ; ../tools/setup-virtualenv.sh ; virtualenv/bin/python setup.py develop
|
||||
cd $(srcdir)/ceph-detect-init ; ../tools/setup-virtualenv.sh ; test -d wheelhouse && export NO_INDEX=--no-index ; virtualenv/bin/pip install $$NO_INDEX --use-wheel --find-links=file://$$(pwd)/wheelhouse -e .
|
||||
|
||||
ceph-detect-init-clean:
|
||||
cd $(srcdir)/ceph-detect-init ; python setup.py clean ; rm -fr wheelhouse .tox virtualenv .coverage *.egg-info
|
||||
|
@ -32,7 +32,7 @@ EXTRA_DIST += \
|
||||
ceph-disk-all: ceph-disk/virtualenv
|
||||
|
||||
ceph-disk/virtualenv:
|
||||
cd $(srcdir)/ceph-disk ; ../tools/setup-virtualenv.sh ; virtualenv/bin/python setup.py develop
|
||||
cd $(srcdir)/ceph-disk ; ../tools/setup-virtualenv.sh ; test -d wheelhouse && export NO_INDEX=--no-index ; virtualenv/bin/pip install $$NO_INDEX --use-wheel --find-links=file://$$(pwd)/wheelhouse -e .
|
||||
|
||||
ceph-disk-clean:
|
||||
cd $(srcdir)/ceph-disk ; python setup.py clean ; rm -fr wheelhouse .tox virtualenv .coverage *.egg-info
|
||||
|
Loading…
Reference in New Issue
Block a user