Skip to content

Commit

Permalink
Move bob dev environment to this package
Browse files Browse the repository at this point in the history
* Update ci to match bob.admin (use sed to change behaviour instead of cp)
  • Loading branch information
anjos committed Mar 13, 2017
1 parent 117de8a commit 7e07435
Show file tree
Hide file tree
Showing 12 changed files with 222 additions and 259 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Expand Up @@ -28,7 +28,7 @@ stages:
- ./_ci/install.sh _ci #updates
- ./_ci/before_build.sh
script:
- cp build.sh ./_ci
- sed -ie 's/sphinx-build -W/sphinx-build/g' ./_ci/build.sh
- ./_ci/build.sh
after_script:
- ./_ci/after_build.sh
Expand All @@ -48,7 +48,7 @@ stages:
- ./_ci/install.sh _ci #updates
- ./_ci/before_test.sh
script:
- cp test.sh ./_ci
- sed -ie '/doctest/d' ./_ci/test.sh
- ./_ci/test.sh
after_script:
- ./_ci/after_test.sh
Expand Down
9 changes: 1 addition & 8 deletions MANIFEST.in
@@ -1,10 +1,3 @@
include README.rst
include CHANGELOG
include LICENSE
include bootstrap-buildout.py
include buildout.cfg
include requirements.txt
include README.rst CHANGELOG LICENSE buildout.cfg requirements.txt version.txt
include test-requirements.txt
include version.txt
recursive-include doc doc/plot *.rst *.png conf.py *.py *.ico

26 changes: 14 additions & 12 deletions README.rst
Expand Up @@ -33,24 +33,26 @@ Installation
------------

Follow our `installation`_ instructions. Then, using the Python interpreter
provided by the distribution, bootstrap and buildout this package::
provided by the distribution, build this package with::

$ buildout

$ python bootstrap-buildout.py
$ ./bin/buildout

For the maintainers
-------------------

In the next subsections we have instructions for the maintainers of the package.


Adding a dependency package
===========================


To add a package on bob, just append the package name in the file ('requirements.txt').

To add a package on bob, just append the package name in the file
(``requirements.txt``).

.. warning::

Before adding a package to this prototype, please ensure that the package:

* contains a README clearly indicating how to install the package (including
Expand All @@ -70,11 +72,12 @@ Adding a dependency package
Updating the dependencies
=========================

If you want to update the version of the dependency packages, run the following commands::
$ ./bin/python ./bob/script/get_versions.py > requirements.txt
$ git commit requirements.txt -m "Update requeriments" && git push

If you want to update the version of the dependency packages, run the following
commands::

$ ./bin/python ./bob/script/get_versions.py > requirements.txt
$ git commit requirements.txt -m "Update requeriments" && git push


Removing a dependency package
=============================
Expand All @@ -92,4 +95,3 @@ Removing a dependency package
.. _bug tracker: https://www.idiap.ch/software/bob/issues
.. _dependencies: https://gitlab.idiap.ch/bob/bob/wikis/Dependencies
.. _installation: https://www.idiap.ch/software/bob/install

189 changes: 0 additions & 189 deletions bootstrap-buildout.py

This file was deleted.

22 changes: 0 additions & 22 deletions build.sh

This file was deleted.

58 changes: 58 additions & 0 deletions doc/bob-devel-py27.yml
@@ -0,0 +1,58 @@
name: bob-devel-py27
channels:
- https://www.idiap.ch/software/bob/conda
- defaults
dependencies:
- python=2.7
- cython
- dask
- hdf5
- jpeg
- libpng
- libtiff
- matplotlib
- nose
- numexpr
- numpy
- pillow
- pip
- psutil
- scikit-image
- scikit-learn
- scipy
- sphinx
- sqlalchemy
- anaconda=4.2.0 # [only linux]
- anaconda=4.3.0 # [only osx]
- boost=1.61
- caffe # [only linux]
- cmake
- coverage
- cyvlfeat=0.4.5
- docopt
- ffmpeg=2.8.10
- gcc=4.8.5 # [only linux]
- libgcc=4.8.5 # [only linux]
- giflib=5.1.4
- ipdb=0.10.2
- ipython
- libblitz=0.10
- libmatio=1.5
- libsvm=3.21
- menpo=0.7.7
- menpofit=0.4.1
- menpowidgets=0.2.1p3
- mne=0.13.1
- openblas=0.2.19
- opencv=3
- pkgtools=0.7.3
- pkg-config
- pyedflib=0.1.6
- schema=0.6.5
- sox=14.4.2
- sphinx_rtd_theme
- toolchain=2.3.2
- vlfeat=0.9.20
- zc.buildout=2.9.2
- pip:
- tensorflow==1.0.1

0 comments on commit 7e07435

Please sign in to comment.