Skip to content

Commit 5283fee

Browse files
committed
migrate to nbdev-v3
1 parent 48c3b58 commit 5283fee

3 files changed

Lines changed: 52 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ on:
66
jobs:
77
deploy:
88
runs-on: ubuntu-latest
9-
steps: [uses: fastai/workflows/quarto-ghp@master]
9+
steps: [uses: fastai/workflows/quarto-ghp3@master]

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ on: [workflow_dispatch, pull_request, push]
44
jobs:
55
test:
66
runs-on: ubuntu-latest
7-
steps: [uses: fastai/workflows/nbdev-ci@master]
7+
steps: [uses: fastai/workflows/nbdev3-ci@master]

pyproject.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
[build-system]
2+
requires = ["setuptools>=64"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "clean_plot"
7+
dynamic = ["version"]
8+
description = "clean_plot simplifies cleaning text files for creation of embeddings and making plots from it"
9+
readme = "README.md"
10+
requires-python = ">=3.7"
11+
license = {text = "Apache-2.0"}
12+
authors = [{name = "Deven Mistry", email = "masterdeven@gmail.com"}]
13+
keywords = ['cleaning', 'tokenizing', 'embeddings', 'plotting']
14+
classifiers = ["Natural Language :: English", "Intended Audience :: Developers", "Development Status :: 2 - Pre-Alpha", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only"]
15+
dependencies = ['numpy', 'pandas', 'seaborn', 'scikit-learn', 'nltk', 'unidecode', 'fastcore']
16+
17+
[project.urls]
18+
Repository = "https://github.com/deven367/clean_plot/"
19+
Documentation = "https://deven367.github.io/clean_plot/"
20+
21+
[project.entry-points.nbdev]
22+
clean_plot = "clean_plot._modidx:d"
23+
24+
[project.optional-dependencies]
25+
dev = ['nbdev', 'notebook', 'black']
26+
27+
28+
[project.scripts]
29+
heatmaps = "clean_plot.heatmaps_novels:plot_novels"
30+
corr_hm = "clean_plot.heatmaps_novels:corr_heatmaps"
31+
lex_ts = "clean_plot.heatmaps_novels:lex_ts"
32+
heatmaps_pkl = "clean_plot.heatmaps_novels:ssms_from_pkl"
33+
clean_file = "clean_plot.utils:clean"
34+
histograms = "clean_plot.heatmaps_novels:plot_histograms"
35+
make_pkl = "clean_plot.pickle:create_dict_whole_book"
36+
ts_pkl = "clean_plot.heatmaps_novels:heatmap_from_pkl"
37+
cp_help = "clean_plot.utils:chelp"
38+
39+
[tool.setuptools.dynamic]
40+
version = {attr = "clean_plot.__version__"}
41+
42+
[tool.setuptools.packages.find]
43+
include = ["clean_plot"]
44+
45+
[tool.nbdev]
46+
branch = 'master'
47+
tst_flags = 'slow colab local'
48+
jupyter_hooks = true
49+
custom_sidebar = true
50+
151
[tool.black]
252
line-length = 80
353
target-version = ['py36', 'py37', 'py38', 'py39']

0 commit comments

Comments
 (0)