summaryrefslogtreecommitdiff
path: root/textproc/py-sphinx-book-theme/files/setup.py
blob: 4fe5af94b5aeecd436d44363ddc36db22465b04d (plain) (blame)
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
64
65
66
from setuptools import setup

setup(
    name = 'sphinx-book-theme',
    version = '%%PORTVERSION%%',
    description = 'A clean book theme for scientific explanations and documentation with Sphinx',
    maintainer = 'Chris Holdgraf',
    maintainer_email = 'choldgraf@gmail.com',
    url = None,
    packages = ['sphinx_book_theme'],
    package_dir = {'': 'src'},
    package_data = {'': ['*']},
    install_requires = [
        'sphinx>=3,<5',
        'pydata-sphinx-theme~=0.8.0',
        'pyyaml',
    ],
    extras_require = {
        'code_style': [
            'pre-commit~=2.7.0'
        ],
        'doc': [
            'ablog~=0.10.13',
            'ipywidgets',
            'folium',
            'numpy',
            'matplotlib',
            'numpydoc',
            'myst-nb~=0.13',
            'nbclient',
            'pandas',
            'plotly',
            'sphinx~=4.0',  # Force Sphinx to be the latest version
            'sphinx-design',
            'sphinx-copybutton',
            'sphinx-tabs',
            'sphinx-togglebutton>=0.2.1',
            'sphinx-thebe>=0.1.1',
            'sphinxcontrib-bibtex~=2.2',
            'sphinxcontrib-youtube',
            'sphinxext-opengraph',
        ],
        'test': [
            'beautifulsoup4>=4.6.1,<5',
            'coverage',
            'myst_nb~=0.13',
            'pytest~=6.0.1',
            'pytest-cov',
            'pytest-regressions~=2.0.1',
            'sphinx_thebe'
        ],
    },
    entry_points = {
        'sphinx.html_themes': ['sphinx_book_theme = sphinx_book_theme'],
    },
    classifiers = [
        'Development Status :: 4 - Beta',
        'Programming Language :: Python :: 3',
        'Framework :: Sphinx',
        'Framework :: Sphinx :: Theme',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
    ],
    license = 'BSD License',
    python_requires = '>= 3.7',
)