... | ... | @@ -136,6 +136,20 @@ Now, open at your `environment.yml` file. If it contains `zc.buildout`, remove |
|
|
|
|
|
And that's it! All you need to do now is to include `environment.yml` in your `MANIFEST.in` file to make sure that your environment file is packaged along with your source code (when creating a PyPI package).
|
|
|
|
|
|
To make sure your frozen environment works as expected, test it on a different computer as follows, replacing `bob.paper.isba2018_entropy` with your package name and `bob.paper.isba2018_entropy.env` with the name of your previously-created environment:
|
|
|
|
|
|
```sh
|
|
|
$ git clone https://gitlab.idiap.ch/bob/bob.paper.isba2018_entropy # download package from GitLab
|
|
|
$ cd bob.paper.isba2018_entropy # navigate to your working directory
|
|
|
$ conda env create -f environment.yml # create the working environment
|
|
|
$ source activate bob.paper.icb2018_relative_entropy.env # activate the created environment
|
|
|
$ buildout # generate the scripts necessary to run your experiments
|
|
|
$ ./bin/verify.py vera-wld # run your experiments
|
|
|
```
|
|
|
|
|
|
When you run your experiments in the created environment, your results should be the same as those you originally obtained.
|
|
|
|
|
|
Alternatively, you could simply test that your environment has been correctly created by incorporating the creation commands into your `.gitlab-ci.yml` file (see the "Continuous Integration" section, above).
|
|
|
|
|
|
### Software Disclosure Agreement
|
|
|
|
... | ... | |