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
95b43804
Commit
95b43804
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue_30' into 'master'
Move required wheels into from-scratch (closes
#30
) See merge request
!23
parents
d4f339f7
906281a1
No related branches found
No related tags found
1 merge request
!23
Move required wheels into from-scratch (closes #30)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
install/extra-wheels.sh
+0
-32
0 additions, 32 deletions
install/extra-wheels.sh
install/from-scratch.sh
+19
-1
19 additions, 1 deletion
install/from-scratch.sh
install/upload-wheels.sh
+0
-25
0 additions, 25 deletions
install/upload-wheels.sh
with
19 additions
and
58 deletions
install/extra-wheels.sh
deleted
100755 → 0
+
0
−
32
View file @
d4f339f7
#!/usr/bin/env bash
# Wed 17 Aug 2016 13:50:05 CEST
# Set the versions here
CYVLFEAT
=
"git+https://github.com/menpo/cyvlfeat@v0.4.5"
MENPO
=
"pathlib==1.0 git+https://github.com/menpo/menpo@v0.7.5 git+https://github.com/menpo/menpofit@v0.4.1"
SCHEMA
=
"schema"
RRPG
=
"pyedflib mne"
if
[
"
${#}
"
!=
2
]
;
then
echo
"usage:
`
basename
$0
`
<basedir> <name>"
echo
"example:
`
basename
$0
`
/opt/conda bob-devel-py34"
exit
1
fi
echo
"[>>] Activating conda environment
${
2
}
..."
source
${
1
}
/bin/activate
${
2
}
if
[
"
${
?
}
"
!=
0
]
;
then
echo
"[error] Activating conda environment - check your settings"
exit
1
fi
echo
"[>>] Generating wheels..."
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl -Wl,-rpath=
${
CONDA_PREFIX
}
/lib"
pip
--no-cache-dir
wheel
--no-deps
${
CYVLFEAT
}
else
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include -mmacosx-version-min=10.9"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl -Wl,-headerpad_max_install_names"
pip
--no-cache-dir
wheel
--no-deps
${
CYVLFEAT
}
fi
pip
--no-cache-dir
wheel
--no-deps
${
MENPO
}
pip
--no-cache-dir
wheel
--no-deps
${
SCHEMA
}
pip
--no-cache-dir
wheel
--no-deps
${
RRPG
}
This diff is collapsed.
Click to expand it.
install/from-scratch.sh
+
19
−
1
View file @
95b43804
...
@@ -43,7 +43,7 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
...
@@ -43,7 +43,7 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
libpng
\
libpng
\
libsvm
\
libsvm
\
libtiff
\
libtiff
\
matplotlib
\
matplotlib
=
1
\
nose
\
nose
\
numexpr
\
numexpr
\
numpy
\
numpy
\
...
@@ -64,5 +64,23 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
...
@@ -64,5 +64,23 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
vlfeat
vlfeat
#caffe
#caffe
echo
"[>>] Pip-installing extra dependencies in environment
${
NAME
}
for
${
PYTHON_VERSION
}
..."
source
${
BASEDIR
}
/bin/activate
${
NAME
}
# Cyvlfeat requires special instructions
cyvlfeat
=
git+https://github.com/menpo/cyvlfeat@v0.4.5
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl -Wl,-rpath=
${
CONDA_PREFIX
}
/lib"
pip
--no-cache-dir
install
${
cyvlfeat
}
else
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include -mmacosx-version-min=10.9"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl -Wl,-headerpad_max_install_names"
pip
--no-cache-dir
install
${
cylvfeat
}
fi
pip
--no-cache-dir
install
\
git+https://github.com/menpo/menpo@v0.7.5
\
git+https://github.com/menpo/menpofit@v0.4.1
\
schema
\
pyedflib
\
mne
echo
"[>>] Bye!"
echo
"[>>] Bye!"
exit
0
exit
0
This diff is collapsed.
Click to expand it.
install/upload-wheels.sh
deleted
100755 → 0
+
0
−
25
View file @
d4f339f7
#!/usr/bin/env bash
# Wed 17 Aug 2016 13:50:05 CEST
if
[
"
${#}
"
=
0
]
;
then
echo
"usage:
`
basename
$0
`
<wheels>"
echo
"example:
`
basename
$0
`
*.whl"
exit
1
fi
SERVER
=
https://www.idiap.ch/software/bob/wheels-upload/gitlab/
echo
-n
"Username: "
read
username
echo
-n
"Password: "
read
-s
password
echo
""
for
wheel
in
${
@
}
;
do
echo
"[>>] Uploading
${
wheel
}
..."
curl
--silent
--user
"
${
username
}
:
${
password
}
"
--insecure
--upload-file
${
wheel
}
${
SERVER
}
if
[
$?
!=
0
]
;
then
echo
"[error] curl command finished with an error condition"
exit
1
fi
done
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