Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
empyre
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dieter Weber
empyre
Commits
c4f70f57
Commit
c4f70f57
authored
7 years ago
by
Jan Caron
Browse files
Options
Downloads
Patches
Plain Diff
Short test with ubuntu:16.04 and on the fly installation of miniconda.
parent
c1ca4128
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-3
5 additions, 3 deletions
.gitlab-ci.yml
environment.yml
+0
-6
0 additions, 6 deletions
environment.yml
setup.py
+2
-2
2 additions, 2 deletions
setup.py
with
7 additions
and
11 deletions
.gitlab-ci.yml
+
5
−
3
View file @
c4f70f57
...
...
@@ -74,6 +74,7 @@
image
:
ubuntu:16.04
before_script
:
# # Check and print Python version
# - python --version
# Create SSH configuration directory if necessary (also parents with -p, mode: read/write/exec):
...
...
@@ -89,13 +90,14 @@ before_script:
# Provide read access to owner (octal value code: 400) to known_hosts with chmod:
-
chmod 400 ~/.ssh/known_hosts
# Script from Ingo Heim
a
bach:
# Script from Ingo Heimbach:
-
apt-get update
-
apt-get install -y curl bzip2
-
apt-get install -y curl bzip2
git
-
curl -O -L https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-
chmod +x Miniconda3-latest-Linux-x86_64.sh
-
./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3
-
export PATH="/opt/miniconda3/bin:${PATH}"
-
apt-cache policy git
# - conda create -y -n pyramid python
# - source activate test_env
# - conda install -y numpy
...
...
@@ -111,7 +113,7 @@ test_conda:
script
:
# Install requirements:
-
conda info --envs
-
conda env create -
y -q
# -q: quiet/ no progressbar, because it spams the log!
-
conda env create -
q
# -q: quiet/ no progressbar, because it spams the log!
-
source activate pyramid
-
conda info --envs
# Install jutil via secure ssh connection:
...
...
This diff is collapsed.
Click to expand it.
environment.yml
+
0
−
6
View file @
c4f70f57
...
...
@@ -50,9 +50,3 @@ dependencies:
# - pip:
# # ALSO NEEDS JUTIL!
# - "git+ssh://gitlab@iffgit.fz-juelich.de/unger/jutil.git"
#
# # FOLLOWING NOT USED ANYMORE, CONDA WORKS, TOO (with appropriate channels):
# # Install pyFFTW=0.10 from wheel:
# - http://www.lfd.uci.edu/~gohlke/pythonlibs/pyFFTW‑0.10.4‑cp35‑cp35m‑win_amd64.whl
# # Install mayavi=4.5 and VTK from wheel:
# - http://www.lfd.uci.edu/~gohlke/pythonlibs/mayavi‑4.5.0+vtk71‑cp35‑cp35m‑win_amd64.whl
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
2
View file @
c4f70f57
...
...
@@ -7,7 +7,7 @@ import re
import
subprocess
import
sys
import
itertools
from
distutils.command.build
import
build
#
from distutils.command.build import build
#import numpy
from
setuptools
import
setup
,
find_packages
...
...
@@ -168,6 +168,6 @@ setup(name=DISTNAME,
#tests_require=['pytest', 'pytest-cov', 'pytest-flake8'],
install_requires
=
install_requires
,
extras_require
=
extras_require
,
cmdclass
=
{
'
build
'
:
build
}
# TODO: necessary?
#
cmdclass={'build': build} # TODO: necessary?
)
print
(
'
-------------------------------------------------------------------------------
\n
'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment