-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathsetup.py
executable file
·114 lines (108 loc) · 4.25 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup for ipypublish."""
import io
from importlib import import_module
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with io.open('README.md') as readme:
readme_str = readme.read()
setup(
name='ipypublish',
version=import_module('ipypublish').__version__,
description=(
'A workflow for creating and editing publication ready '
'scientific reports, from one or more Jupyter Notebooks'),
long_description=readme_str,
long_description_content_type='text/markdown',
install_requires=requirements,
extras_require={
"sphinx": {
"sphinx(>=1.6,<2)",
"sphinxcontrib-bibtex",
},
"tests": {
"pytest>=3.6",
"pytest-cov",
"flake8(>=3.7,<3.8)",
"coverage",
"pillow",
"nbsphinx",
"ipykernel",
"sphinx(>=1.6,<2)",
"sphinxcontrib-bibtex",
"texsoup<=0.1.4"
},
"science": {
"matplotlib",
"numpy",
"pandas",
"sympy"
},
"rtd": {
"recommonmark>=0.5",
"pytest>=3.6",
"pillow",
"numpy",
"matplotlib",
"pandas",
"sympy<1.3",
"sphinx(>=1.6,<2)",
"sphinxcontrib-bibtex",
"ipykernel"
}
},
license='MIT',
author='Chris Sewell',
author_email='[email protected]',
url='https://github.com/chrisjsewell/ipypublish',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Intended Audience :: Financial and Insurance Industry',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
keywords='python, jupyter-notebook, nbconvert, pandoc, latex, pdf',
zip_safe=True,
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'nbpublish = ipypublish.frontend.nbpublish:run',
'nbpresent = ipypublish.frontend.nbpresent:run',
'ipubpandoc = ipypublish.filters_pandoc.main:pandoc_filters'
],
'ipypublish.postprocessors': [
'remove-blank-lines = ipypublish.postprocessors.stream_modify:RemoveBlankLines',
'remove-trailing-space = ipypublish.postprocessors.stream_modify:RemoveTrailingSpace',
'filter-output-files = ipypublish.postprocessors.stream_modify:FilterOutputFiles',
'fix-slide-refs = ipypublish.postprocessors.stream_modify:FixSlideReferences',
'pdf-export = ipypublish.postprocessors.pdfexport:PDFExport',
'write-stream = ipypublish.postprocessors.to_stream:WriteStream',
'write-text-file = ipypublish.postprocessors.file_actions:WriteTextFile',
'remove-folder = ipypublish.postprocessors.file_actions:RemoveFolder',
'write-resource-files = ipypublish.postprocessors.file_actions:WriteResourceFiles',
'copy-resource-paths = ipypublish.postprocessors.file_actions:CopyResourcePaths',
'reveal-server = ipypublish.postprocessors.reveal_serve:RevealServer',
'run-sphinx = ipypublish.postprocessors.sphinx:RunSphinx [sphinx]',
'convert-bibgloss = ipypublish.postprocessors.convert_bibgloss:ConvertBibGloss'
]
}
)