-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (50 loc) · 2.43 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
from setuptools import setup
import os
# Read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="tm351-nb-utils",
version="0.0.34",
long_description=long_description, # Use README content as long description
long_description_content_type="text/markdown",
py_modules=["tm351_nb_utils", "updaters", "html2nb", "splitmerge", "collapser"],
packages=["ou_nb_workflow_tools"],
install_requires=[
"Click",
"tabulate",
"pytest",
"nbval",
"PyGithub",
"beautifulsoup4",
"humanize",
],
entry_points="""
[console_scripts]
tm351zip=tm351_nb_utils:cli_zip
tm351unzip=tm351_nb_utils:cli_unzip
tm351zipview=tm351_nb_utils:cli_zipview
tm351gitrepos=tm351_nb_utils:cli_gitrepos
tm351nbtest=tm351_nb_utils:cli_nbtest
tm351nbrun=tm351_nb_utils:cli_nbrun
upgrade_empinken_tags = updaters:upgrade_empinken_tags
html2ipynb = html2nb:html2ipynb
nb_merge = splitmerge:nb_merger
nb_split = splitmerge:nb_splitter
nb_collapse_activities = collapser:activity_collapser
nb_collapse_tagstoolbar = ou_nb_workflow_tools.tags_collapser:tag_toolbar_collapser
nb_image_table = ou_nb_workflow_tools.cli:imagetable_generate
nb_cell_metadata_strip = ou_nb_workflow_tools.metadata_cleaner:cell_metadata_key_cleaner
nb_cell_figure_tagger = ou_nb_workflow_tools.figure_cell_autotagger:figure_autotagger
nb_cell_separator_fixer = ou_nb_workflow_tools.separator_fixer:separator_cleaner
cnb_collapse_head_migrate = ou_nb_workflow_tools.cnb2jl_ext_migrate:fix_collapse_headings_metadata
nb_cell_stderr_finder = ou_nb_workflow_tools.warning_spotter:stderr_checker
nb_empty_cell_cleaner = ou_nb_workflow_tools.blank_cell_cleaner:empty_cell_cleaner
nb_split_sections = ou_nb_workflow_tools.section_splitter:section_splitter
nb_cell_run_status = ou_nb_workflow_tools.cell_run_status_checker:cell_run_status_checker
nb_html2myst_updater = ou_nb_workflow_tools.html2myst_converter:html_tag_replacer
nb_remove_tagged_cell = ou_nb_workflow_tools.tagged_cell_remover:remove_tagged_cell
nb_remove_code_outputs = ou_nb_workflow_tools.code_cell_output_cleaner:code_output_cleaner
""",
)