Skip to content

Commit ddfba56

Browse files
authored
Merge branch 'master' into 72-native-cron-scheduler-doesnt-match-convention
2 parents cadba46 + 6c92170 commit ddfba56

File tree

2 files changed

+59
-74
lines changed

2 files changed

+59
-74
lines changed

setup.cfg

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1+
[metadata]
2+
name = notebooker
3+
author = Man Quant Technology
4+
author_email = ManAlphaTech@man.com
5+
description = Tool for parametrizing, executing, and displaying Jupyter Notebooks as reports.
6+
long_description_content_type = text/markdown
7+
license = AGPLv3
8+
url = https://github.com/man-group/notebooker
9+
classifiers =
10+
Development Status :: 5 - Production/Stable
11+
License :: OSI Approved :: GNU Affero General Public License v3
12+
Framework :: Flask
13+
Framework :: IPython
14+
Framework :: Jupyter
15+
Programming Language :: Python :: 3.6
16+
Operating System :: POSIX
17+
Operating System :: MacOS :: MacOS X
18+
Operating System :: Microsoft :: Windows :: Windows 10
19+
Topic :: Internet :: WWW/HTTP
20+
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
21+
Topic :: Software Development :: Libraries
22+
23+
[options]
24+
setup_requires =
25+
six
26+
numpy
27+
install_requires =
28+
requests
29+
importlib-metadata; python_version < "3.8"
30+
apscheduler
31+
babel
32+
cachelib
33+
click>7.1.0
34+
dataclasses; python_version < "3.8"
35+
flask
36+
gevent
37+
gitpython
38+
inflection
39+
ipykernel
40+
ipython
41+
ipython_genutils
42+
jupytext>=1.2.0
43+
matplotlib
44+
nbconvert
45+
nbformat
46+
pandas
47+
papermill
48+
pymongo
49+
python-dateutil
50+
requests
51+
retrying
52+
stashy
53+
Werkzeug<2.2
54+
55+
[options.extras_require]
56+
prometheus = prometheus_client
57+
docs = docutils<0.18; sphinx<3.0.0; numpydoc; sphinxcontrib-httpdomain; sphinxcontrib-httpdomain; sphinx-click
58+
test = openpyxl; pytest; mock; pytest-cov; pytest-timeout; pytest-xdist; pytest-server-fixtures; freezegun; hypothesis>=3.83.2
59+
160
[flake8]
261
ignore = F401,E203,W504,W503
362
max-line-length = 160

setup.py

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -21,73 +21,13 @@ def get_long_description():
2121
return desc
2222

2323

24-
# Note: pytest >= 4.1.0 is not compatible with pytest-cov < 2.6.1.
25-
test_requirements = [
26-
"openpyxl",
27-
"pytest",
28-
"mock",
29-
"pytest-cov",
30-
"pytest-timeout",
31-
"pytest-xdist",
32-
"pytest-server-fixtures",
33-
"freezegun",
34-
"hypothesis>=3.83.2",
35-
]
36-
3724
setup(
38-
name="notebooker",
3925
version=get_version(),
40-
author="Man Quant Technology",
41-
author_email="ManAlphaTech@man.com",
42-
description="Tool for parametrizing, executing, and displaying Jupyter Notebooks as reports.",
43-
long_description=get_long_description(),
44-
long_description_content_type="text/markdown",
45-
license="AGPLv3",
46-
url="https://github.com/man-group/notebooker",
4726
packages=find_packages(exclude=["tests", "tests.*", "benchmarks"]),
4827
namespace_packages=["notebooker"],
49-
setup_requires=["six", "numpy"],
5028
python_requires=">=3.5",
5129
zip_safe=False,
5230
include_package_data=True,
53-
install_requires=[
54-
"apscheduler",
55-
"babel",
56-
"cachelib",
57-
"click>7.1.0",
58-
'dataclasses; python_version < "3.8"',
59-
"flask",
60-
"gevent",
61-
"gitpython",
62-
"inflection",
63-
"ipykernel",
64-
"ipython",
65-
"ipython_genutils",
66-
"jupytext>=1.2.0",
67-
"matplotlib",
68-
"nbconvert",
69-
"nbformat",
70-
"pandas",
71-
"papermill",
72-
"pymongo",
73-
"python-dateutil",
74-
"requests",
75-
"retrying",
76-
"stashy",
77-
"Werkzeug<2.2",
78-
],
79-
extras_require={
80-
"prometheus": ["prometheus_client"],
81-
"test": test_requirements,
82-
"docs": [
83-
"docutils<0.18",
84-
"sphinx<3.0.0",
85-
"numpydoc",
86-
"sphinxcontrib-httpdomain",
87-
"sphinx-click"
88-
], # Sphinx v3 doesn't play nicely with Flask, yet.
89-
},
90-
tests_require=test_requirements,
9131
entry_points={
9232
"console_scripts": [
9333
"notebooker-cli = notebooker._entrypoints:base_notebooker",
@@ -97,18 +37,4 @@ def get_long_description():
9737
"convert_ipynb_to_py = notebooker.convert_to_py:main",
9838
]
9939
},
100-
classifiers=[
101-
"Development Status :: 5 - Production/Stable",
102-
"License :: OSI Approved :: GNU Affero General Public License v3",
103-
"Framework :: Flask",
104-
"Framework :: IPython",
105-
"Framework :: Jupyter",
106-
"Programming Language :: Python :: 3.6",
107-
"Operating System :: POSIX",
108-
"Operating System :: MacOS :: MacOS X",
109-
"Operating System :: Microsoft :: Windows :: Windows 10",
110-
"Topic :: Internet :: WWW/HTTP",
111-
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
112-
"Topic :: Software Development :: Libraries",
113-
],
11440
)

0 commit comments

Comments
 (0)