diff options
author | Jens Diemer <github.com@jensdiemer.de> | 2020-02-01 22:43:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 22:43:09 +0100 |
commit | fc4c19930b13067e16ef88acd018e31d6956946d (patch) | |
tree | 6da0eff5e4d61482b2eb9738dd252ebddb0438c7 /creole/publish.py | |
parent | 3cbcdc3010e5bc396199e1c8124627eaafdf468a (diff) | |
parent | 34e9738aead5f252feccd4510d72bd0642ad728a (diff) | |
download | creole-fc4c19930b13067e16ef88acd018e31d6956946d.tar.gz |
Merge pull request #43 from jedie/poetry-publish
use poetry-publish
Diffstat (limited to 'creole/publish.py')
-rw-r--r-- | creole/publish.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/creole/publish.py b/creole/publish.py new file mode 100644 index 0000000..1939d25 --- /dev/null +++ b/creole/publish.py @@ -0,0 +1,17 @@ +from pathlib import Path + +from poetry_publish.publish import poetry_publish + +import creole + + +def publish(): + """ + Publish python-creole to PyPi + Call this via: + $ poetry run publish + """ + poetry_publish( + package_root=Path(creole.__file__).parent.parent, + version=creole.__version__, + ) |