diff --git a/README.md b/README.md index bead3f5..86ce411 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ The following dialogs are currently available; | Name | Description | Sample | PIP | | ---- | ----------- | ------- | --- | -| [@botbuildercommunity/dialog-prompts](libraries/botbuilder-community-dialogs-prompts/README.md) | A variety of prompts using the [Microsoft Recognizers Text](https://github.com/microsoft/Recognizers-Text) suite, such as currency, temperature, age and dimension. | coming soon | coming soon | +| [@botbuildercommunity/dialog-prompts](libraries/botbuilder-community-dialogs-prompts/README.md) | A variety of prompts using the [Microsoft Recognizers Text](https://github.com/microsoft/Recognizers-Text) suite, such as currency, temperature, age and dimension. | coming soon | [botbuilder-community-dialogs-prompts](https://pypi.org/project/botbuilder-community-dialogs-prompts/) | diff --git a/libraries/botbuilder-community-dialogs-prompts/README.md b/libraries/botbuilder-community-dialogs-prompts/README.md index 4e1743f..9b85f71 100644 --- a/libraries/botbuilder-community-dialogs-prompts/README.md +++ b/libraries/botbuilder-community-dialogs-prompts/README.md @@ -2,13 +2,11 @@ This is a (currently experimental) suite of dialog prompts that uses Microsoft's recognizer text suite to recognize certain types of input during a dialog prompt. Microsoft's Bot Framework team has implemented a handful of prompts using recognizers from the recognizer text suite. This library is meant to fill the gaps. -> Currently, this library and subsequent PIP are experimental. Please use at your own risk. Feel free to test, debug, and submit pull requests if you come across any issues. - ## Installation You can install this library via PIP: - ## Coming soon + pip install botbuilder-community-dialogs-prompts ## Number with Unit diff --git a/libraries/botbuilder-community-dialogs-prompts/source/__init__.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/__init__.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/__init__.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/__init__.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/about.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/about.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/about.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/about.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/email_prompt.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/email_prompt.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/email_prompt.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/email_prompt.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/guid_prompt.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/guid_prompt.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/guid_prompt.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/guid_prompt.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/internet_protocol_prompt.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/internet_protocol_prompt.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/internet_protocol_prompt.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/internet_protocol_prompt.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/number_with_type_prompt.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/number_with_type_prompt.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/number_with_type_prompt.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/number_with_type_prompt.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/number_with_unit_prompt.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/number_with_unit_prompt.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/number_with_unit_prompt.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/number_with_unit_prompt.py diff --git a/libraries/botbuilder-community-dialogs-prompts/source/phone_prompt.py b/libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/phone_prompt.py similarity index 100% rename from libraries/botbuilder-community-dialogs-prompts/source/phone_prompt.py rename to libraries/botbuilder-community-dialogs-prompts/botbuilder/community/dialogs/prompts/phone_prompt.py diff --git a/libraries/botbuilder-community-dialogs-prompts/setup.py b/libraries/botbuilder-community-dialogs-prompts/setup.py index 4c6524d..a059056 100644 --- a/libraries/botbuilder-community-dialogs-prompts/setup.py +++ b/libraries/botbuilder-community-dialogs-prompts/setup.py @@ -13,7 +13,7 @@ root = os.path.abspath(os.path.dirname(__file__)) -with open(os.path.join(root, "source", "about.py")) as f: +with open(os.path.join(root, "botbuilder", "community", "dialogs", "prompts", "about.py")) as f: package_info = {} info = f.read() exec(info, package_info) @@ -32,7 +32,7 @@ long_description_content_type="text/markdown", license=package_info["__license__"], packages=[ - "source", + "botbuilder.community.dialogs.prompts", ], install_requires=REQUIRES + TESTS_REQUIRES, tests_require=TESTS_REQUIRES, diff --git a/libraries/botbuilder-community-dialogs-prompts/test/test_email_prompt.py b/libraries/botbuilder-community-dialogs-prompts/test/test_email_prompt.py index 949e1ef..175a3db 100644 --- a/libraries/botbuilder-community-dialogs-prompts/test/test_email_prompt.py +++ b/libraries/botbuilder-community-dialogs-prompts/test/test_email_prompt.py @@ -5,7 +5,7 @@ import asyncio current = pathlib.Path(__file__).parent.parent -libpath = current.joinpath("source") +libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts") sys.path.append(str(libpath)) from botbuilder.dialogs.prompts import ( diff --git a/libraries/botbuilder-community-dialogs-prompts/test/test_guid_prompt.py b/libraries/botbuilder-community-dialogs-prompts/test/test_guid_prompt.py index 635a3c8..d8e1254 100644 --- a/libraries/botbuilder-community-dialogs-prompts/test/test_guid_prompt.py +++ b/libraries/botbuilder-community-dialogs-prompts/test/test_guid_prompt.py @@ -5,7 +5,7 @@ import asyncio current = pathlib.Path(__file__).parent.parent -libpath = current.joinpath("source") +libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts") sys.path.append(str(libpath)) from botbuilder.dialogs.prompts import ( diff --git a/libraries/botbuilder-community-dialogs-prompts/test/test_internet_protocol_prompt.py b/libraries/botbuilder-community-dialogs-prompts/test/test_internet_protocol_prompt.py index bf164b8..25cf481 100644 --- a/libraries/botbuilder-community-dialogs-prompts/test/test_internet_protocol_prompt.py +++ b/libraries/botbuilder-community-dialogs-prompts/test/test_internet_protocol_prompt.py @@ -5,7 +5,7 @@ import asyncio current = pathlib.Path(__file__).parent.parent -libpath = current.joinpath("source") +libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts") sys.path.append(str(libpath)) from botbuilder.dialogs.prompts import ( diff --git a/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_type_prompt.py b/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_type_prompt.py index 466344f..c88aad4 100644 --- a/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_type_prompt.py +++ b/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_type_prompt.py @@ -5,7 +5,7 @@ import asyncio current = pathlib.Path(__file__).parent.parent -libpath = current.joinpath("source") +libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts") sys.path.append(str(libpath)) from botbuilder.dialogs.prompts import ( diff --git a/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_unit_prompt.py b/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_unit_prompt.py index bd9e81f..68b8b18 100644 --- a/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_unit_prompt.py +++ b/libraries/botbuilder-community-dialogs-prompts/test/test_number_with_unit_prompt.py @@ -5,7 +5,7 @@ import asyncio current = pathlib.Path(__file__).parent.parent -libpath = current.joinpath("source") +libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts") sys.path.append(str(libpath)) from botbuilder.dialogs.prompts import ( diff --git a/libraries/botbuilder-community-dialogs-prompts/test/test_phone_prompt.py b/libraries/botbuilder-community-dialogs-prompts/test/test_phone_prompt.py index 3f5172d..3cc9ca0 100644 --- a/libraries/botbuilder-community-dialogs-prompts/test/test_phone_prompt.py +++ b/libraries/botbuilder-community-dialogs-prompts/test/test_phone_prompt.py @@ -5,7 +5,7 @@ import asyncio current = pathlib.Path(__file__).parent.parent -libpath = current.joinpath("source") +libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts") sys.path.append(str(libpath)) from botbuilder.dialogs.prompts import (