Compare commits
No commits in common. "main" and "v1.0" have entirely different histories.
11
.github/workflows/binder-badge.yml
vendored
11
.github/workflows/binder-badge.yml
vendored
@ -1,11 +0,0 @@
|
|||||||
name: binder-badge
|
|
||||||
on:
|
|
||||||
pull_request_target:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
badge:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: manics/action-binderbadge@main
|
|
||||||
with:
|
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
29
LICENSE
29
LICENSE
@ -1,29 +0,0 @@
|
|||||||
BSD 3-Clause License
|
|
||||||
|
|
||||||
Copyright (c) 2019, Binder Project
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
* Neither the name of the copyright holder nor the names of its
|
|
||||||
contributors may be used to endorse or promote products derived from
|
|
||||||
this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
28
README.md
28
README.md
@ -1,31 +1,21 @@
|
|||||||
# Conda environment with environment.yml
|
# Example Binder with environment.yml
|
||||||
|
|
||||||
[](http://mybinder.org/v2/gh/binder-examples/conda_environment/HEAD?filepath=index.ipynb)
|
|
||||||
|
|
||||||
A Binder-compatible repo with an `environment.yml` file.
|
A Binder-compatible repo with an `environment.yml` file.
|
||||||
|
|
||||||
Access this Binder by clicking the blue badge above or at the following URL:
|
[](http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?filepath=index.ipynb)
|
||||||
|
|
||||||
http://mybinder.org/v2/gh/binder-examples/conda_environment/HEAD?filepath=index.ipynb
|
Access this Binder at the following URL:
|
||||||
|
|
||||||
## Notes
|
http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?filepath=index.ipynb
|
||||||
|
|
||||||
|
# Notes
|
||||||
The `environment.yml` file should list all Python libraries on which your notebooks
|
The `environment.yml` file should list all Python libraries on which your notebooks
|
||||||
depend, specified as though they were created using the following `conda` commands:
|
depend, specified as though they were created using the following `conda` commands:
|
||||||
|
|
||||||
```
|
```
|
||||||
conda activate example-environment
|
source activate example-environment
|
||||||
conda env export --from-history -f environment.yml
|
conda env export > environment.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the only libraries available to you will be the ones specified in
|
Note that the only libraries available to you will be the ones specified in
|
||||||
the `environment.yml`, so be sure to include everything that you need!
|
the `environment.yml`, so be sure to include everything that you need!
|
||||||
|
|
||||||
Also note that if you skip the `--from-history`, conda may include OS-specific
|
|
||||||
packages in `environment.yml`, which you would have to manually prune from
|
|
||||||
`environment.yml`. For example, confirmed macOS-specific packages that should
|
|
||||||
be removed are:
|
|
||||||
|
|
||||||
* libcxxabi=4.0.1
|
|
||||||
* appnope=0.1.0
|
|
||||||
* libgfortran=3.0.1
|
|
||||||
* libcxx=4.0.1
|
|
||||||
|
@ -2,7 +2,7 @@ name: example-environment
|
|||||||
channels:
|
channels:
|
||||||
- conda-forge
|
- conda-forge
|
||||||
dependencies:
|
dependencies:
|
||||||
- python=3.11
|
- python
|
||||||
- numpy
|
- numpy
|
||||||
- psutil
|
- psutil
|
||||||
- toolz
|
- toolz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user