diff options
author | Eric Lin <anselor@gmail.com> | 2021-01-11 14:06:16 -0500 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2021-01-22 10:44:09 -0500 |
commit | ce907373694c0203e4d8a4a469c9194e5e4fb970 (patch) | |
tree | 59b89f886a42547cb909a26984231e88e8959df1 /plugins/ext_test/setup.py | |
parent | a3b1b6ddf81cdc0b253f15feeb167ff348afd14f (diff) | |
download | cmd2-git-pep561.tar.gz |
Added py.typed to signal that we support type annotations for PEP-561. Fixes #1036pep561
Diffstat (limited to 'plugins/ext_test/setup.py')
-rw-r--r-- | plugins/ext_test/setup.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/ext_test/setup.py b/plugins/ext_test/setup.py index 70b264b5..c78a8612 100644 --- a/plugins/ext_test/setup.py +++ b/plugins/ext_test/setup.py @@ -16,6 +16,10 @@ scm_version = { 'git_describe_command': 'git describe --dirty --tags --long --match "plugin-ext-test*"', } +PACKAGE_DATA = { + 'cmd2_ext_test': ['py.typed'], +} + setuptools.setup( name='cmd2-ext-test', version=scm_version, @@ -30,6 +34,7 @@ setuptools.setup( url='https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test', license='MIT', + package_data=PACKAGE_DATA, packages=['cmd2_ext_test'], python_requires='>=3.5', |