mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Merged in python3 (pull request #5)
Port to python3, large code cleanup * Fixed command line for cosmotool * Fix path * Dump command line is log file * Fix important typo * Modify paths for example * Fix path again * Use an explicit constructor * Change file to open (python 2->3) * python3 fix for xrange in periodic_kdtree.py * Fixed index for Np, numPart, numZones, numZonesTot, partID, zoneID in catalogUtil.py
This commit is contained in:
parent
8249256508
commit
affb56ff48
392 changed files with 4092 additions and 260938 deletions
17
container/Dockerfile
Normal file
17
container/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM debian:stable
|
||||
|
||||
|
||||
RUN apt update && apt install -y git gcc g++ python3 python3-dev python3-pip python3-numpy python3-setuptools cmake libz-dev coreutils m4
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
###ADD vide_key_ssh .
|
||||
ENV GIT_SSH_COMMAND='ssh -i /ssh-key/vide_key_ssh -o "StrictHostKeyChecking no"'
|
||||
RUN pip3 install --no-cache-dir 'astropy<4.1'
|
||||
RUN git clone --recursive git@bitbucket.org:glavaux/vide_next.git
|
||||
|
||||
WORKDIR /build/vide_next
|
||||
|
||||
RUN git checkout python3
|
||||
#RUN python3 setup.py build
|
||||
RUN pip3 install --verbose .
|
20
container/build.sh
Normal file
20
container/build.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
#+
|
||||
# VIDE -- Void IDentification and Examination -- ./container/build.sh
|
||||
# Copyright (C) 2010-2014 Guilhem Lavaux
|
||||
# Copyright (C) 2011-2014 P. M. Sutter
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; version 2 of the License.
|
||||
#
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#+
|
||||
podman build --volume $(pwd)/key:/ssh-key:z -t vide_next .
|
Loading…
Add table
Add a link
Reference in a new issue