-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
44 lines (42 loc) · 1.19 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
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
version_ns = {}
with open(os.path.join(here, "nbterm", "_version.py")) as f:
exec(f.read(), {}, version_ns)
setup(
name="nbterm",
version=version_ns["__version__"],
url="https://github.com/davidbrochart/nbterm.git",
author="David Brochart",
author_email="[email protected]",
description="A tool for viewing, editing and executing Jupyter Notebooks in the terminal",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
packages=["nbterm"],
python_requires=">=3.7",
install_requires=[
"prompt-toolkit>=3.0.16",
"typer>=0.4.0",
"pygments",
"rich",
"kernel_driver>=0.0.6",
],
extras_require={
"test": [
"mypy",
"flake8",
"black",
"pytest",
"ipykernel",
],
},
entry_points={
"console_scripts": ["nbterm = nbterm.nbterm:cli"],
},
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
)