Skip to content

Commit ca2b4be

Browse files
committed
version 0.2.0a4 - simplify the project settings
1 parent eb72761 commit ca2b4be

File tree

107 files changed

+10
-21
lines changed

Some content is hidden

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

107 files changed

+10
-21
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.md LICENSE slack_bolt/py.typed

setup.py

+7-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import setuptools
77

88
__version__ = None
9-
exec(open("src/slack_bolt/version.py").read())
9+
exec(open("slack_bolt/version.py").read())
1010

1111
with open("README.md", "r") as fh:
1212
long_description = fh.read()
@@ -29,15 +29,14 @@
2929
long_description=long_description,
3030
long_description_content_type="text/markdown",
3131
url="https://github.com/slackapi/bolt-python",
32-
packages=setuptools.find_packages("src"),
33-
package_dir={"": "src"},
34-
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
32+
packages=setuptools.find_packages("slack_bolt"),
33+
package_dir={"": "slack_bolt"},
34+
py_modules=[splitext(basename(path))[0] for path in glob("slack_bolt/*.py")],
35+
include_package_data=True, # MANIFEST.in
3536
setup_requires=["pytest-runner==5.2"],
3637
# python setup.py test
3738
tests_require=test_dependencies,
38-
install_requires=[
39-
"slack_sdk==3.0.0a1",
40-
],
39+
install_requires=["slack_sdk==3.0.0a1",],
4140
extras_require={
4241
# pip install -e ".[async]"
4342
"async": [
@@ -73,5 +72,5 @@
7372
"License :: OSI Approved :: MIT License",
7473
"Operating System :: OS Independent",
7574
],
76-
python_requires='>=3.6',
75+
python_requires=">=3.6",
7776
)

src/slack_bolt/__init__.py slack_bolt/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Don't add async module imports here
12
from .app import App # noqa
23
from .context import BoltContext # noqa
34
from .context.ack import Ack # noqa
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

slack_bolt/version.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.2.0a4"

src/slack_bolt/version.py

-1
This file was deleted.

tests/conftest.py

-4
This file was deleted.

tests/scenario_tests/conftest.py

-4
This file was deleted.

tests/scenario_tests_async/conftest.py

-4
This file was deleted.

0 commit comments

Comments
 (0)