Skip to content

Implicit dependency on pandoc command #16

@edigiacomo

Description

@edigiacomo

From https://pypi.org/project/pypandoc/:

Pypandoc uses pandoc, so it needs an available installation of pandoc. Pypandoc provides 2 packages, "pypandoc" and "pypandoc_binary", with the second one including pandoc out of the box. The 2 packages are identical, with the only difference being that one includes pandoc, while the other don't.

If pandoc is already installed (i.e. pandoc is in the PATH), pypandoc uses the version with the higher version number, and if both are the same, the already installed version. See Specifying the location of pandoc binaries for more.

django-statusboard-notify currently depends on pypandoc and this means that pandoc must be in PATH or pypandoc_binary must be installed in the virtual environment.

Since this is a django app and therefore is installed as a dependency of a django app, it'd be more appropriate if the dependency problem was resolved automatically at install time, e.g.

  1. Install pypandoc_binary though it may not work properly with some distribution packages.
  2. Install pypandoc_binary if pandoc command is not found. But what if the server administrator uninstalls the command later?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions