Skip to content

Commit

Permalink
Merge pull request #15 from SamEdwardes:update-docs-pypi
Browse files Browse the repository at this point in the history
Published new build to pypi with corrected README. Also removed scripts directory and replaced with a Makefile.
  • Loading branch information
SamEdwardes authored May 5, 2021
2 parents 51c4a94 + ea50083 commit 3ea8842
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build_docs :
# inspired by https://github.com/pytorch/botorch/blob/master/scripts/build_docs.sh
# usage: poetry run bash scripts/build_docs.sh
jupyter nbconvert --to markdown --execute README.ipynb
jupyter nbconvert --to markdown --execute website/docs/getting_started.ipynb
jupyter nbconvert --to markdown --execute website/docs/example.ipynb

publish_pypi :
poetry version patch
poetry build
poetry publish
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "spacytextblob"
version = "3.0"
version = "3.0.1"
description = "A TextBlob sentiment analysis pipeline compponent for spaCy"
authors = ["SamEdwardes <[email protected]>"]
license = "MIT"
Expand Down
11 changes: 0 additions & 11 deletions scripts/build_docs.sh

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/publish_pypi.sh

This file was deleted.

0 comments on commit 3ea8842

Please sign in to comment.