-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
95 lines (92 loc) · 2.79 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
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
NDV = "0.121.10"
driver_dep = [f'naas_drivers[full]=={NDV}']
dev_dep = [
"syncer==1.3.0",
"backports.zoneinfo==0.2.1",
"pytest==6.2.4",
"pytest-tornasync==0.6.0.post2",
"pytest-mock==3.6.0",
"pytest-sanic==1.7.0",
"pytest-asyncio==0.15.1",
"pre-commit==2.15.0",
"twine==3.5.0",
"requests-mock==1.9.3",
"flake8==4.0.1",
"black>=21.4b2",
"imgcompare==2.0.1",
"commitizen==2.17.13",
"pytest-cov==2.12.1",
]
setup(
name="naas",
version="2.14.17",
author="Maxime Jublou",
author_email="devops@cashstory.com",
license="BSD",
description="Scheduler system for notebooks",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cashstory/naas",
packages=find_packages(exclude=["tests"]),
package_data={
"naas": ["runner/assets/*.html", "runner/assets/*.png", "runner/assets/*.svg"],
},
setup_requires=["wheel"],
extras_require={
"dev": dev_dep,
'full': driver_dep,
"fulldev": dev_dep + driver_dep
},
install_requires=[
"nbconvert==6.0.7",
"nest_asyncio==1.5.1",
"ipywidgets==7.6.5",
"papermill==2.3.3",
"pretty-cron==1.2.0",
"APScheduler==3.8.1",
"pycron==3.0.0",
"aiohttp==3.7.4.post0",
"html5lib==1.1",
"Pillow==8.3.2",
"markdown2==2.4.0",
"pandas==1.2.4",
"escapism==1.0.1",
"notebook==6.4.1",
"MarkupSafe==2.0.1", # "notebook==6.4.0" is requesting a Jinja2 version <3.0 but Jinja2 is requesting the latest version of MarkupSafe which is not compatible with this older version of Jinja2.
"jinja2==3.0.3",
"ipython==7.23.1",
"ipykernel==5.5.3",
"requests>=2.25.1",
"sentry-sdk==1.0.0",
"sanic==20.12.2",
"sanic-openapi==0.6.2",
"argparse==1.4.0",
"nbclient==0.5.3",
"beautifulsoup4==4.10.0",
"tzdata",
"pysqlite3==0.4.6",
"pymongo[srv]==3.11.3",
"psycopg2-binary==2.9.1",
"mprop==0.16.0",
"pydash==7.0.7",
"pyvis==0.3.0",
"rich",
"tzlocal==2.1",
"naas-python==1.4.2",
"typing_extensions==4.11.0"
],
classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: BSD License",
"Framework :: Jupyter",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
],
)