forked from d2l-ai/d2l-book
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
47 lines (45 loc) · 1.09 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
from setuptools import setup, find_packages
from d2lbook import __version__
requirements = [
'jupyter',
'regex',
'sphinx==5.2.0',
'recommonmark',
'nbformat',
'nbconvert',
'sphinxcontrib-bibtex<2.0.0',
'pybtex-apa-style',
'mu-notedown',
'mxtheme>=0.3.16',
'sphinxcontrib-svg2pdfconverter',
'numpydoc',
'awscli',
'gitpython',
'sphinx_autodoc_typehints==1.10.1',
'astor',
'yapf',
'fasteners',
'isort',
'anyio==3.7.1',
'h11==0.12.0'
]
setup(
name='d2lbook',
version=__version__,
install_requires=requirements,
setup_requires=['sphinx>=2.2.1'],
python_requires='>=3.8',
author='D2L Developers',
author_email='[email protected]',
url='https://book.d2l.ai',
description="Create an online book with Jupyter Notebooks and Sphinx",
license='Apache-2.0',
packages=find_packages(),
include_package_data=True,
package_data={'d2lbook':['config_default.ini', 'upload_doc_s3.sh', 'upload_github.sh']},
entry_points={
'console_scripts': [
'd2lbook = d2lbook.main:main',
]
},
)