forked from imatlab/imatlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (37 loc) · 1.28 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
from setuptools import setup, find_packages
setup(
name="imatlab",
description="A Juyter kernel for MATLAB.",
long_description=open("README.rst", encoding="utf-8").read(),
author="Antony Lee",
url="https://github.com/imatlab/imatlab",
license="MIT",
classifiers=[
"Framework :: IPython",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: System :: Shells",
],
packages=find_packages("lib"),
package_dir={"": "lib"},
package_data={"imatlab": ["data/imatlab_export_fig.m", "data/matlab.tpl"]},
python_requires=">=3.5",
setup_requires=["setuptools_scm"],
use_scm_version=lambda: { # xref __init__.py
"version_scheme": "post-release",
"local_scheme": "node-and-date",
"write_to": "lib/imatlab/_version.py",
},
install_requires=[
"ipykernel>=4.1", # Current version of --user install.
"nbconvert>=4.2", # Exporter API.
"plotly>=1.13.0", # First version to test Py3.5.
"widgetsnbextension>=1.0", # Anything works.
"matlabengineforpython>=R2016b", # Not PyPI installable.
],
entry_points={
"nbconvert.exporters": [
"matlab = imatlab._exporter:MatlabExporter",
],
},
)