Skip to content

Commit

Permalink
Remove documentation on making frozen virtual environments
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim committed Aug 25, 2018
1 parent 93fcc44 commit 5021713
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,45 +114,11 @@ To update one of the dependencies shared across all `repo2docker` builds, you
must follow these steps (with more detailed information in the sections below):

* Make sure you have [Docker](https://www.docker.com/) running on your computer
* Bump the version number in `virtualenv` ([link](https://github.com/jupyter/repo2docker/blob/master/CONTRIBUTING.md#virtualenv-dependencies))
* Bump the version number in the `conda` environment ([link](https://github.com/jupyter/repo2docker/blob/master/CONTRIBUTING.md#conda-dependencies))
* Make a pull request with your changes ([link](https://github.com/jupyter/repo2docker/blob/master/CONTRIBUTING.md#make-a-pull-request))

See the subsections below for more detailed instructions.

### Virtualenv dependencies

1. There are two files related to virtualenv dependencies. Edit as needed.

- `repo2docker/buildpacks/python/requirements.txt`

Contains list of packages to install in Python3 virtualenvs,
which are the default. **This where all Notebook versions &
notebook extensions (such as JupyterLab / nteract) go**.

- `repo2docker/buildpacks/python/requirements2.txt`

Contains list of packages to install in Python2 virtualenvs, which
can be specifically requested by users. **This only needs `IPyKernel`
and kernel related libraries** Notebook / Notebook Extension need
not be installed here.

2. After you edit either of these files to add a new package / bump version on
an existing package, run:

```bash
./repo2docker/buildpacks/python/freeze.bash
```

This script will resolve dependencies and write them to the respective `.frozen.txt`
files.

Note: If you do not have Python3 and Python2 with virtualenv, the script
will create and build Docker containers to process the frozen files.

3. All the `.txt` files in `repo2docker/buildpacks/python/` should be committed to git.

4. Make a pull request.

### Conda dependencies

Expand Down

0 comments on commit 5021713

Please sign in to comment.