This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
55 lines (50 loc) · 1.88 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
from setuptools import setup, find_packages
import sys
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
def readme():
with open('README.rst') as f:
return f.read()
setup(name='sphinx-nbexamples',
version='0.4.1',
description=(
'Create an examples gallery with sphinx from Jupyter Notebooks'),
long_description=readme(),
long_description_content_type="text/x-rst",
classifiers=[
'Development Status :: 7 - Inactive',
'Intended Audience :: Developers',
'Topic :: Documentation',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
],
keywords=('sphinx sphinx-gallery examples documentation notebook ipython'
' jupyter nbconvert nbsphinx'),
project_urls={
'Documentation': 'https://sphinx-nbexamples.readthedocs.io',
},
url='https://github.com/Chilipp/sphinx-nbexamples',
author='Philipp S. Sommer',
author_email='[email protected]',
license="MIT",
packages=find_packages(exclude=['docs', 'tests*', 'examples']),
package_data={'sphinx_nbexamples': ['sphinx_nbexamples/_static/*']},
include_package_data=True,
install_requires=[
'sphinx',
'ipython',
'nbconvert',
'Pillow',
'jupyter_client',
'ipykernel',
],
setup_requires=pytest_runner,
tests_require=['pytest'],
zip_safe=False)