From 519a53b74b0837c92fe5bd21666a493c11393aa3 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Mon, 25 Sep 2023 02:04:42 -0700 Subject: [PATCH] move py.typed to setup.cfg --- setup.cfg | 4 ++++ setup.py | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 786b8c0..09c15de 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,10 @@ classifiers = [options] python_requires = >=3.8 zip_safe = False +include_package_data = True + +[options.package_data] +my = py.typed [options.entry_points] console_scripts = diff --git a/setup.py b/setup.py index 6c03c71..e46e415 100644 --- a/setup.py +++ b/setup.py @@ -9,12 +9,7 @@ def subpackages() -> Iterator[str]: yield p -username = "seanbreckenridge" if __name__ == "__main__": setup( packages=list(subpackages()), - package_data={"my": ["py.typed"]}, - entry_points={ - "console_scripts": ["backup_to = my.utils.backup_to.__main__:main"] - }, )