forked from mathworks/jupyter-matlab-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (61 loc) · 2.03 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
# Copyright 2020-2021 The MathWorks, Inc.
from setuptools.command.install import install
import setuptools
from pathlib import Path
from jupyter_matlab_proxy.jupyter_config import config
tests_require = [
"pytest",
"pytest-cov",
]
HERE = Path(__file__).parent.resolve()
long_description = (HERE / "README.md").read_text()
setuptools.setup(
name="jupyter-matlab-proxy",
version="0.4.2",
url=config["doc_url"],
author="The MathWorks, Inc.",
author_email="[email protected]",
license="MATHWORKS CLOUD REFERENCE ARCHITECTURE LICENSE",
description="Jupyter Server Proxy for MATLAB",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=["tests", "anaconda"]),
keywords=[
"Jupyter",
"Jupyter Proxy",
"Jupyter Server Proxy",
"MATLAB Integration for Jupyter",
"MATLAB",
"MATLAB Proxy",
"MATLAB Web Desktop",
"Remote MATLAB Web Access",
],
classifiers=[
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
python_requires="~=3.6",
install_requires=[
"jupyter-server-proxy",
"jupyter_contrib_nbextensions",
"matlab-proxy>=0.2.9",
],
tests_require=tests_require,
extras_require={"dev": ["black", "ruamel.yaml"] + tests_require},
entry_points={
# jupyter-server-proxy uses this entrypoint
"jupyter_serverproxy_servers": ["matlab = jupyter_matlab_proxy:setup_matlab"],
# matlab-proxy uses this entrypoint
"matlab_proxy_configs": [
f"{config['extension_name']} = jupyter_matlab_proxy.jupyter_config:config"
],
},
include_package_data=True,
zip_safe=False,
)