-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
60 lines (50 loc) · 1.65 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
#!/usr/bin/env python
# coding: utf-8
import io
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# the name of the project
name = 'nbsphinx-link'
version_ns = {}
with io.open(os.path.join(here, 'nbsphinx_link', '_version.py'), encoding="utf8") as f:
exec(f.read(), {}, version_ns)
setup_args = dict(
name = name,
description = "A sphinx extension for including notebook files outside sphinx source root",
version = version_ns['__version__'],
packages = find_packages(here),
author = 'Vidar Tonaas Fauske',
author_email = '[email protected]',
url = 'https://github.com/vidartf/nbsphinx-link',
license = 'BSD-3',
platforms = "Linux, Mac OS X, Windows",
keywords = ['Interactive', 'Interpreter', 'Shell', 'Web'],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3",
install_requires = [
'nbsphinx',
'sphinx>=1.8',
],
extras_require={
'docs': [
"sphinx_rtd_theme",
"ipython",
]
},
entry_points = {
}
)
if __name__ == '__main__':
setup(**setup_args)