-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (33 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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = fh.read().strip().split()
with open("hooks/VERSION", "r", encoding="utf-8") as fh:
version = fh.read()
setuptools.setup(
name="nbmanips-hooks",
version=version,
author="Dhia HMILA",
author_email="dhiahmila@gmail.com",
description="A set of pre-commit hooks to handle ipynb files",
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT',
url="https://github.com/hmiladhia/nbmanips-hooks",
packages=['hooks'],
include_package_data=True,
entry_points={
'console_scripts': ['nb-delete-empty-cells=hooks.nb_delete_empty_cells:delete_empty_cells',
'nb-delete-image-outputs=hooks.nb_delete_image_outputs:delete_image_outputs'
],
},
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
keywords=['jupyter', 'notebook', 'ipynb', 'slides', 'notebooks'],
)