-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
executable file
·58 lines (49 loc) · 2.07 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python3
# vim: set fileencoding=utf-8 :
# vim: set et ts=4 sw=4:
"""
mdbook-pdf-outline
An outline (Table of Content) generator for mdBook-pdf.
Author: Hollow Man <hollowman@opensuse.org>
License: GPL-3.0
Copyright © 2022-2023 Hollow Man (@HollowMan6). All rights reserved.
This document is free software; you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program.
If not, see <http://www.gnu.org/licenses/>.
"""
from setuptools import setup
# read the contents of README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="mdbook-pdf-outline",
version="0.1.4",
description="Tool for generating outlines for PDF files generated by mdbook-pdf.",
url="https://github.com/HollowMan6/mdbook-pdf",
author="Hollow Man (Domain Address)",
author_email="hollowman@opensuse.org",
license="GPL-3.0-or-later",
install_requires=["lxml", "pypdf"],
packages=["mdbook_pdf_outline"],
entry_points={
"console_scripts": [
"mdbook-pdf-outline=mdbook_pdf_outline.mdbook_pdf_outline:main"
]
},
long_description=long_description,
project_urls={
"Bug Tracker": "https://github.com/HollowMan6/mdbook-pdf/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Topic :: Text Processing :: Markup :: Markdown",
],
long_description_content_type="text/markdown",
)