Skip to content

Commit

Permalink
Bring pypandoc_binary back on linux to work around old version in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbenito committed Sep 17, 2023
1 parent 2ceca16 commit 0ebb0bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ library. E.g. with venv:
```shell script
python -m venv ./venv
. venv/bin/activate # `venv\Scripts\activate` in windows
pip install -r requirements-dev.txt
pip install -r requirements-dev.txt -r requirements-docs.txt
```

With conda:

```shell script
conda create -n pydvl python=3.8
conda activate pydvl
pip install -r requirements-dev.txt
pip install -r requirements-dev.txt -r requirements-docs.txt
```

A very convenient way of working with your library during development is to
Expand All @@ -54,11 +54,12 @@ pip install -e .
```

In order to build the documentation locally (which is done as part of the tox
suite) you will need [pandoc](https://pandoc.org/). Under Ubuntu it can be
installed with:
suite) [pandoc](https://pandoc.org/) is required. Except for OSX, it should be installed
automatically as a dependency with `requirements-docs.txt`. Under OSX you can
install pandoc (you'll need at least version 2.11) with:

```shell script
sudo apt-get update -yq && apt-get install -yq pandoc
brew install pandoc
```

Remember to mark all autogenerated directories as excluded in your IDE. In
Expand Down
3 changes: 2 additions & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ mkdocs-material
mkdocs-section-index
mkdocs-macros-plugin
neoteroi-mkdocs # Needed for card grid on home page
pypandoc
pypandoc; sys_platform == 'darwin'
pypandoc_binary; sys_platform != 'darwin'
GitPython

0 comments on commit 0ebb0bf

Please sign in to comment.