8000 introduce namespace packages and change microsoft.botbuilder to botbu… · openvelora/botbuilder-python@194103a · GitHub
[go: up one dir, main page]

Skip to content

Commit 194103a

Browse files
committed
introduce namespace packages and change microsoft.botbuilder to botbuilder-core
1 parent bb04283 commit 194103a

File tree

89 files changed

+104
-650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+104
-650
lines changed

build-all.cmd

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
cd .\libraries\botbuilder-schema\
2-
python .\setup.py bdist_wheel
3-
pip install .\dist\microsoft_botbuilder_schema-4-py2.py3-none-any.whl
4-
cd ..\botframework-connector\
5-
python .\setup.py bdist_wheel
6-
pip install .\dist\microsoft_botframework_connector-3-py2.py3-none-any.whl
7-
cd ..\botbuilder\
8-
python .\setup.py bdist_wheel
9-
pip install .\dist\microsoft_botbuilder-4.0.0a0-py3-none-any.whl
1+
pip install -e .\libraries\botbuilder-schema
2+
pip install -e .\libraries\botframework-connector
3+
pip install -e .\libraries\botbuilder-core

libraries/botbuilder/microsoft/botbuilder/activity_adapter.py renamed to libraries/botbuilder-core/botbuilder/core/activity_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from abc import ABC, abstractmethod
55
from typing import List
6-
from microsoft.botbuilder.schema import Activity
6+
from botbuilder.schema import Activity
77

88

99
class ActivityAdapter(ABC):

libraries/botbuilder/microsoft/botbuilder/bot_framework_adapter.py renamed to libraries/botbuilder-core/botbuilder/core/bot_framework_adapter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
import asyncio
55
from typing import List
6-
from microsoft.botbuilder.schema import Activity
7-
from microsoft.botframework.connector import ConnectorClient
8-
from microsoft.botframework.connector.auth import (MicrosoftAppCredentials,
9-
JwtTokenValidation, SimpleCredentialProvider)
6+
from botbuilder.schema import Activity
7+
from botframework.connector import ConnectorClient
8+
from botframework.connector.auth import (MicrosoftAppCredentials,
9+
JwtTokenValidation, SimpleCredentialProvider)
1010

1111
from .activity_adapter import ActivityAdapter
1212

File renamed without changes.

libraries/botbuilder/setup.py renamed to libraries/botbuilder-core/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
from setuptools import setup, find_packages
22

33
setup(
4-
name='microsoft-botbuilder',
4+
name='botbuilder-core',
55
version='4.0.0-a0',
66
url='https://www.github.com/Microsoft/botbuilder-python',
77
long_description='Microsoft Bot Framework Bot Builder SDK for Python. Build intelligent bots that scale.',
88
license='MIT',
99
author='Microsoft',
1010
author_email='bf-reports@microsoft.com',
11-
description='',
12-
packages=find_packages(),
11+
description='Microsoft Bot Framework Bot Builder',
12+
packages=["botbuilder.core"],
1313
classifiers=[
1414
'Programming Language :: Python',
1515
'Intended Audience :: Bot Developers',

0 commit comments

Comments
 (0)
0