-
Notifications
You must be signed in to change notification settings - Fork 73
/
setup.py
31 lines (27 loc) · 935 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
from setuptools import find_packages, setup
HERE = os.path.dirname(__file__)
with open(os.path.join(HERE, "README.md"), encoding="utf8") as f:
readme = f.read()
setup(
author="Tim Head",
author_email="[email protected]",
version="0.5.0",
description="Jupyter extension to export notebooks as PDFs",
install_requires=["nbconvert", "pyppeteer", "PyPDF2"],
keywords="jupyter pdf export bundler",
license="BSD3",
long_description=readme,
long_description_content_type="text/markdown",
name="notebook-as-pdf",
packages=find_packages(),
python_requires=">=3.7",
url="https://github.com/betatim/notebook-as-pdf",
entry_points={
# One entry for nbconvert 5.x and the second one for newer releases
"nbconvert.exporters": [
"PDFviaHTML = notebook_as_pdf:PDFExporter",
"pdfviahtml = notebook_as_pdf:PDFExporter",
]
},
)