Add python packages "bindep" file
Change-Id: Ia313a689d3b57578fe8f30a584e04ddc3af97a18
This commit is contained in:
parent
483a24fefa
commit
7a9855eb00
|
@ -17,6 +17,6 @@ ARG UID=42424
|
|||
ARG GID=42424
|
||||
|
||||
COPY scripts /opt/loci/scripts
|
||||
COPY bindep.txt /opt/loci/
|
||||
COPY bindep.txt pydep.txt /opt/loci/
|
||||
|
||||
RUN /opt/loci/scripts/install.sh
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
cryptography []
|
||||
ldappool [(keystone ldap)]
|
||||
libvirt-python [nova]
|
||||
pyldap [(keystone ldap)]
|
||||
pymysql []
|
||||
python-memcached []
|
||||
uwsgi []
|
|
@ -50,17 +50,11 @@ $(dirname $0)/fetch_wheels.sh
|
|||
if [[ "${PLUGIN}" == "no" ]]; then
|
||||
$(dirname $0)/create_user.sh
|
||||
$(dirname $0)/setup_pip.sh
|
||||
$(dirname $0)/pip_install.sh \
|
||||
bindep==2.6.0 \
|
||||
cryptography \
|
||||
pymysql \
|
||||
python-memcached \
|
||||
uwsgi
|
||||
$(dirname $0)/pip_install.sh bindep==2.6.0
|
||||
PACKAGES=($(bindep -f /opt/loci/pydep.txt -b -l newline ${PROJECT} ${PROFILES} ${python3} || :))
|
||||
$(dirname $0)/pip_install.sh ${PACKAGES[@]}
|
||||
fi
|
||||
|
||||
if [[ ${PROJECT} == 'nova' ]]; then
|
||||
$(dirname $0)/pip_install.sh libvirt-python
|
||||
fi
|
||||
$(dirname $0)/clone_project.sh
|
||||
$(dirname $0)/pip_install.sh /tmp/${PROJECT} ${PIP_PACKAGES}
|
||||
$(dirname $0)/install_packages.sh
|
||||
|
|
Loading…
Reference in New Issue