Skip to content

Commit 0da2892

Browse files
authored
Merge branch 'master' into silent_start
2 parents 38b5099 + 5f1ea98 commit 0da2892

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

cmd2/py.typed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# PEP 561
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# PEP 561

plugins/ext_test/setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
'git_describe_command': 'git describe --dirty --tags --long --match "plugin-ext-test*"',
1717
}
1818

19+
PACKAGE_DATA = {
20+
'cmd2_ext_test': ['py.typed'],
21+
}
22+
1923
setuptools.setup(
2024
name='cmd2-ext-test',
2125
version=scm_version,
@@ -30,6 +34,7 @@
3034
url='https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test',
3135
license='MIT',
3236

37+
package_data=PACKAGE_DATA,
3338
packages=['cmd2_ext_test'],
3439

3540
python_requires='>=3.5',

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070
]
7171
}
7272

73+
PACKAGE_DATA = {
74+
'cmd2': ['py.typed'],
75+
}
76+
7377
setup(
7478
name="cmd2",
7579
use_scm_version={
@@ -84,6 +88,7 @@
8488
url='https://github.com/python-cmd2/cmd2',
8589
license='MIT',
8690
platforms=['any'],
91+
package_data=PACKAGE_DATA,
8792
packages=['cmd2'],
8893
keywords='command prompt console cmd',
8994
python_requires='>=3.5',

0 commit comments

Comments
 (0)