Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
59883056
Commit
59883056
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Update to use bob-devel conda package
parent
e5c2e3e7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
install/README.md
+0
-6
0 additions, 6 deletions
install/README.md
install/from-scratch.sh
+2
-8
2 additions, 8 deletions
install/from-scratch.sh
install/install-ci.sh
+1
-1
1 addition, 1 deletion
install/install-ci.sh
with
3 additions
and
15 deletions
install/README.md
+
0
−
6
View file @
59883056
...
...
@@ -35,12 +35,6 @@ The parameters are:
2.
The name of the environment to be created
3.
The version of python to use for this environment
Once the environment is generated, you may generate the package list like this:
```
sh
$
/opt/conda/bin/conda list
-n
bob-devel-py27
-e
>
linux/devel-py27.txt
```
#### Extra OS packages
...
...
This diff is collapsed.
Click to expand it.
install/from-scratch.sh
+
2
−
8
View file @
59883056
...
...
@@ -5,7 +5,7 @@ set -e
if
[
"
${#}
"
!=
3
]
;
then
echo
"usage:
`
basename
$0
`
<basedir> <name> <python-version>"
echo
"example:
`
basename
$0
`
/opt/conda bob-devel-py3
4
3.
4
"
echo
"example:
`
basename
$0
`
/opt/conda bob-devel-py3
5
3.
5
"
exit
1
fi
...
...
@@ -14,7 +14,6 @@ NAME=$2
PYTHON_VERSION
=
$3
PYVER
=
`
echo
$PYTHON_VERSION
|
sed
-e
's/\.//'
`
CONDA
=
${
BASEDIR
}
/bin/conda
YML
=
bob-devel-py
${
PYVER
}
.yml
if
[
-d
${
BASEDIR
}
/envs/
${
NAME
}
]
;
then
${
CONDA
}
remove
-n
${
NAME
}
--all
--yes
...
...
@@ -24,12 +23,7 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
fi
fi
if
[
!
-e
"
${
YML
}
"
]
;
then
echo
"[>>] Downloading latest bob-devel.yml environment..."
curl
-o
${
YML
}
https://gitlab.idiap.ch/bob/bob/raw/master/doc/
${
YML
}
fi
echo
"[>>] Creating environment
${
NAME
}
for python
${
PYTHON_VERSION
}
with bob dependencies..."
${
CONDA
}
env
create
--name
=
${
NAME
}
--
file
=
${
YML
}
python
=
${
PYTHON_VERSION
}
${
CONDA
}
create
--name
=
${
NAME
}
--
override-channels
--channel
=
http://www.idiap.ch/software/bob/conda
--channel
=
defaults
python
=
${
PYTHON_VERSION
}
bob-devel
echo
"[>>] Bye!"
exit
0
This diff is collapsed.
Click to expand it.
install/install-ci.sh
+
1
−
1
View file @
59883056
...
...
@@ -17,7 +17,7 @@ ${CONDA} clean --all --yes
echo
"[>>] Updating conda and conda-build..."
${
CONDA
}
install
-n
root conda conda-build
--yes
for
k
in
2.7 3.
4
3.
5
;
do
for
k
in
2.7 3.
5
3.
6
;
do
py
=
`
echo
$k
|
sed
-e
's/\.//'
`
e
=
"bob-devel-py
$py
"
echo
"[>>] Installing CI environment
$e
using python-
$k
..."
...
...
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