... | ... | @@ -119,6 +119,8 @@ $ cd bob.paper.isba2018_entropy |
|
|
$ source activate bob.paper.isba2018_entropy.env
|
|
|
$ conda env export > environment.yml
|
|
|
```
|
|
|
Now, open at your `environment.yml` file. If it contains `zc.buildout`, remove the corresponding version number so that, if we decide to upgrade the version, the user can still do `buildout` in their re-created environment. You can also feel free to remove any packages in `environment.yml` that you know **for sure** are not needed by your paper package (if you are not sure, it's best not to remove anything). Finally, remove the "prefix" section of your `environment.yml` file, since the user of your package does not need to know the path to your working directory (anyway, their path will be different).
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
... | ... | |