betatim / notebook-as-pdf

Save Jupyter Notebooks as PDF
BSD 3-Clause "New" or "Revised" License
368 stars 72 forks source link

Installation dependencies? #10

Open pierrepo opened 4 years ago

pierrepo commented 4 years ago

This is more a question than an issue on itself :smile:

The installation procedure for notebook-as-pdf is quite straightforward:

python -m pip install notebook-as-pdf
pyppeteer-install

I had a quick look at the files inside the binder repo that are used to build the demo with mybinder:

However, the apt.txt file contains a list of Ubuntu/Debian libraries. Are they related to the installation of notebook-as-pdf on itself?

betatim commented 4 years ago

Yes, I needed to install the extra packages on the Ubuntu base image that is used by repo2docker. However I haven't spent much time check if this is really the minimal set of extra packages to install or not. If you find something that isn't strictly necessary it would be nice to know/remove it.

https://github.com/pyppeteer/pyppeteer doesn't list any extra dependencies so maybe all of apt.txt can go?

pierrepo commented 4 years ago

A quick test told me apt.txt is required, at least some of its content.