Skip to content

Commit 5e73740

Browse files
authored
Merge pull request #24 from BotBuilderCommunity/feature/fix-package-structure
Updates to resolve import issues
2 parents 14d8652 + 7bb343a commit 5e73740

15 files changed

+8
-8
lines changed

libraries/botbuilder-community-dialogs-prompts/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
root = os.path.abspath(os.path.dirname(__file__))
1515

16-
with open(os.path.join(root, "source", "about.py")) as f:
16+
with open(os.path.join(root, "botbuilder", "community", "dialogs", "prompts", "about.py")) as f:
1717
package_info = {}
1818
info = f.read()
1919
exec(info, package_info)
@@ -32,7 +32,7 @@
3232
long_description_content_type="text/markdown",
3333
license=package_info["__license__"],
3434
packages=[
35-
"source",
35+
"botbuilder.community.dialogs.prompts",
3636
],
3737
install_requires=REQUIRES + TESTS_REQUIRES,
3838
tests_require=TESTS_REQUIRES,

libraries/botbuilder-community-dialogs-prompts/test/test_email_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import asyncio
66

77
current = pathlib.Path(__file__).parent.parent
8-
libpath = current.joinpath("source")
8+
libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts")
99
sys.path.append(str(libpath))
1010

1111
from botbuilder.dialogs.prompts import (

libraries/botbuilder-community-dialogs-prompts/test/test_guid_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import asyncio
66

77
current = pathlib.Path(__file__).parent.parent
8-
libpath = current.joinpath("source")
8+
libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts")
99
sys.path.append(str(libpath))
1010

1111
from botbuilder.dialogs.prompts import (

libraries/botbuilder-community-dialogs-prompts/test/test_internet_protocol_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import asyncio
66

77
current = pathlib.Path(__file__).parent.parent
8-
libpath = current.joinpath("source")
8+
libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts")
99
sys.path.append(str(libpath))
1010

1111
from botbuilder.dialogs.prompts import (

libraries/botbuilder-community-dialogs-prompts/test/test_number_with_type_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import asyncio
66

77
current = pathlib.Path(__file__).parent.parent
8-
libpath = current.joinpath("source")
8+
libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts")
99
sys.path.append(str(libpath))
1010

1111
from botbuilder.dialogs.prompts import (

libraries/botbuilder-community-dialogs-prompts/test/test_number_with_unit_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import asyncio
66

77
current = pathlib.Path(__file__).parent.parent
8-
libpath = current.joinpath("source")
8+
libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts")
99
sys.path.append(str(libpath))
1010

1111
from botbuilder.dialogs.prompts import (

libraries/botbuilder-community-dialogs-prompts/test/test_phone_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import asyncio
66

77
current = pathlib.Path(__file__).parent.parent
8-
libpath = current.joinpath("source")
8+
libpath = current.joinpath("botbuilder").joinpath("community").joinpath("dialogs").joinpath("prompts")
99
sys.path.append(str(libpath))
1010

1111
from botbuilder.dialogs.prompts import (

0 commit comments

Comments
 (0)