-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
63 lines (58 loc) · 2.06 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
59
60
61
62
63
# -*- coding: utf-8 -*-
import os
from io import open
from setuptools import setup, find_packages
directory = os.path.dirname(os.path.abspath(__file__))
README_PATH = os.path.join(directory, 'README.rst')
setup(
name='sphinx-simplepdf',
version='1.6.0',
url='https://sphinx-simplepdf.readthedocs.io',
download_url='https://github.com/useblocks/sphinx-simplepdf',
license='MIT',
author='team useblocks',
author_email='[email protected]',
description='An easy to use PDF Builder for Sphinx with a modern PDF-Theme.',
long_description=open(README_PATH, encoding='utf-8').read(),
zip_safe=False,
packages=['sphinx_simplepdf',
'sphinx_simplepdf.builders',
'sphinx_simplepdf.directives',
'sphinx_simplepdf.themes/simplepdf_theme',
'sphinx_simplepdf.writers',
],
package_data={'sphinx_simplepdf/themes/simplepdf_theme': [
'theme.conf',
'*.html',
'static/styles/*.css',
'static/js/*.js',
'static/fonts/*.*'
]},
include_package_data=True,
# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
entry_points={
'sphinx.html_themes': [
'simplepdf_theme = sphinx_simplepdf.themes.simplepdf_theme',
],
'sphinx.builders': [
'simplepdf = sphinx_simplepdf.builders.simplepdf'
]
},
install_requires=[
'sphinx',
'weasyprint', # the used PDF builder
'libsass', # needed to generate css on the fly
'beautifulsoup4', # needed for HTML manipulations
],
classifiers=[
'Framework :: Sphinx',
'Framework :: Sphinx :: Extension',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
],
)