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
|
from setuptools import setup
# "import" __version__
__version__ = 'unknown'
for line in open('src/nbsphinx.py'):
if line.startswith('__version__'):
exec(line)
break
setup(
name='nbsphinx',
version=__version__,
package_dir={'': 'src'},
py_modules=['nbsphinx'],
install_requires=[
'docutils',
'jinja2',
'nbconvert!=5.4',
'traitlets',
'nbformat',
'sphinx>=1.6',
],
author='Matthias Geier',
author_email='Matthias.Geier@gmail.com',
description='Jupyter Notebook Tools for Sphinx',
long_description=open('README.rst').read(),
license='MIT',
keywords='Sphinx Jupyter notebook'.split(),
project_urls={
'Documentation': 'http://nbsphinx.readthedocs.io/',
'Source Code': 'https://github.com/spatialaudio/nbsphinx/',
'Bug Tracker': 'https://github.com/spatialaudio/nbsphinx/issues/',
},
platforms='any',
classifiers=[
'Framework :: Sphinx',
'Framework :: Sphinx :: Extension',
'Framework :: Jupyter',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Documentation :: Sphinx',
],
zip_safe=True,
)
|