Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding python-louvain to testing infrastructure, as per issue 1626 #14

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions create_linux_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"""

installs = ['linux_install_scripts/libs.sh',
'linux_install_scripts/make_unsafe_wget.sh',
'linux_install_scripts/python_libs.sh',
'linux_install_scripts/baron.sh',
# 'linux_install_scripts/mipcl.sh',
Expand All @@ -17,8 +18,8 @@
'linux_install_scripts/gams.sh',
'linux_install_scripts/glpk.sh',
'linux_install_scripts/ipopt.sh',
'linux_install_scripts/cbc.sh'
]
'linux_install_scripts/cbc.sh',
'linux_install_scripts/restore_standard_wget.sh']
dynamic_vars_filename = '/root/dynamic_vars.out'

def create_dockerfile(source_image, python_exe, dirname):
Expand Down
10 changes: 10 additions & 0 deletions linux_install_scripts/make_unsafe_wget.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RUN echo "" && \
echo "===============" && \
echo "OVERRIDING WGET" && \
echo "===============" && \
echo ""
RUN mv /usr/bin/wget /usr/bin/_wget && \
echo '#! /bin/bash\n\
_wget --no-check-certificate $@\n\
' > /usr/bin/wget && \
chmod a+x /usr/bin/wget
1 change: 1 addition & 0 deletions linux_install_scripts/python_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ENV DOCKER_PYTHON_OPTIONAL \
Pyro4 \
pytest \
pytest-qt \
python-louvain \
sphinx \
sphinx_rtd_theme \
sympy \
Expand Down
6 changes: 6 additions & 0 deletions linux_install_scripts/restore_standard_wget.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
RUN echo "" && \
echo "==============" && \
echo "RESTORING WGET" && \
echo "==============" && \
echo ""
RUN mv /usr/bin/_wget /usr/bin/wget