ソースを参照

Add py.typed to mark as having typing information

According to PEP 561.
Jochen Sprickerhof 4 年 前
コミット
f72b344981
2 ファイル変更1 行追加1 行削除
  1. 0 0
      radicale/py.typed
  2. 1 1
      setup.py

+ 0 - 0
radicale/py.typed


+ 1 - 1
setup.py

@@ -74,7 +74,7 @@ setup(
     platforms="Any",
     platforms="Any",
     packages=find_packages(
     packages=find_packages(
         exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
         exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
-    package_data={"radicale": WEB_FILES},
+    package_data={"radicale": WEB_FILES + ['py.typed']},
     entry_points={"console_scripts": ["radicale = radicale.__main__:run"]},
     entry_points={"console_scripts": ["radicale = radicale.__main__:run"]},
     install_requires=["defusedxml", "passlib", "vobject>=0.9.6",
     install_requires=["defusedxml", "passlib", "vobject>=0.9.6",
                       "python-dateutil>=2.7.3", "setuptools"],
                       "python-dateutil>=2.7.3", "setuptools"],