Explorar el Código

Include type marker and typehints in build

the *.pyi and **/*.pyi aren't necessary because typehints are all inline in the .py files but this is generic for all packages and usefull if .pyi files are ever added.
Waghabond hace 3 años
padre
commit
b68d5bd567
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      setup.py

+ 2 - 0
setup.py

@@ -11,7 +11,9 @@ setup(
     author="Mikael Koli",
     author_email="koli.mikael@gmail.com",
     url="https://github.com/Miksus/red-mail.git",
+    package_data={package: ["py.typed", "*.pyi", "**/*.pyi"] for package in find_packages()}
     packages=find_packages(),
+    zip_safe=False,
     description="Email sending library",
     long_description=long_description,
     long_description_content_type="text/markdown",