-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·47 lines (41 loc) · 1.5 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
#!/usr/bin/env python
import setuptools
from pathlib import Path
VERSION_FILE = Path(__file__).parent / "nbprune" / "version.py"
ENV = {}
with VERSION_FILE.open() as f:
exec(f.read(), ENV) # pylint: disable=w0122
__version__ = ENV['__version__']
with open("README.md") as feed:
LONG_DESCRIPTION = feed.read()
setuptools.setup(
name="nbprune",
description=("With this tool, one can define pieces of a notebook "
"that belong to teachers and should not be exposed to students."),
version=__version__,
author="Thierry Parmentelat",
author_email="thierry.parmentelat@inria.fr",
long_description=LONG_DESCRIPTION,
long_description_content_type = "text/markdown",
project_urls={
'source': 'https://github.com/flotpython/nbprune',
# 'documentation': 'http://nbprune.readthedocs.io/',
},
include_package_data=True,
packages=['nbprune'],
install_requires=[
'jupytext',
],
entry_points={'console_scripts': [ 'nbprune = nbprune.nbprune:main']},
# data_files=[
# # like `jupyter nbextension install --sys-prefix`
# ("share/jupyter/nbextensions/courselevels", [
# "courselevels/static/index.js", "courselevels/static/courselevels.yaml"
# ]),
# # like `jupyter nbextension enable --sys-prefix`
# ("etc/jupyter/nbconfig/notebook.d", [
# "jupyter-config/nbconfig/notebook.d/nb-courselevels.json"
# ])
# ],
zip_safe=False,
)