diff --git a/docopt.py b/docopt/__init__.py similarity index 100% rename from docopt.py rename to docopt/__init__.py diff --git a/docopt/py.typed b/docopt/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 71a7ba3..a5407fb 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,8 @@ license="MIT", keywords="option arguments parsing optparse argparse getopt docopt docopt-ng", url="https://github.com/jazzband/docopt-ng", - py_modules=["docopt"], + package_data={"docopt": ["py.typed"]}, + packages=["docopt"], long_description=open("README.md").read(), long_description_content_type='text/markdown', classifiers=[