Skip to content

Commit

Permalink
Merge pull request #24 from BotBuilderCommunity/feature/fix-package-s…
Browse files Browse the repository at this point in the history
…tructure

Updates to resolve import issues
  • Loading branch information
garypretty committed Nov 24, 2019
2 parents 14d8652 + 7bb343a commit 5e73740
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions libraries/botbuilder-community-dialogs-prompts/setup.py
Expand Up @@ -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)
Expand All @@ -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,
Expand Down
Expand Up @@ -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 (
Expand Down
Expand Up @@ -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 (
Expand Down
Expand Up @@ -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 (
Expand Down
Expand Up @@ -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 (
Expand Down
Expand Up @@ -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 (
Expand Down
Expand Up @@ -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 (
Expand Down

0 comments on commit 5e73740

Please sign in to comment.