diff --git a/README.md b/README.md index 6598a8f..fc815cc 100644 --- a/README.md +++ b/README.md @@ -62,4 +62,6 @@ Default config destination is `$XDG_CONFIG_HOME/rofi-notion` or `$HOME/.config/r ## Deployment +### PyPi + Bump version in `setup.py` then run `make`. \ No newline at end of file diff --git a/rofi_notion/manage.py b/rofi_notion/manage.py index f92ca38..03d6430 100644 --- a/rofi_notion/manage.py +++ b/rofi_notion/manage.py @@ -1,5 +1,6 @@ -from PyInquirer import prompt, Validator, ValidationError +from prompt_toolkit.validation import Validator, ValidationError from .config import rm_db, set_config, config, set_creds +from InquirerPy.resolver import prompt from prompt_toolkit import document import re diff --git a/setup.py b/setup.py index 4bf49d9..29d98e8 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='rofi-notion', - version='1.2.0', + version='2.0.0', description='Quickly create new Notion pages for your databases with rofi as GUI', long_description=open('README.md').read(), long_description_content_type='text/markdown', @@ -45,7 +45,7 @@ install_requires=[ 'notion-client==1.0.0', 'python-rofi==1.0.1', - 'PyInquirer==1.0.3', + 'InquirerPy==0.3.4', 'argparse==1.4.0', 'PyYAML==6.0', ],