From 036570e35f84e7a4a461c7db323f608be811aa53 Mon Sep 17 00:00:00 2001 From: Alexander Frenzel Date: Sat, 19 Sep 2020 10:47:33 -0700 Subject: [PATCH] fix: add py.typed, #5 --- django_admin_display/py.typed | 0 pyproject.toml | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 django_admin_display/py.typed diff --git a/django_admin_display/py.typed b/django_admin_display/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml index d16a390..adcc3f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,8 +23,11 @@ classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", + "Typing :: Typed", ] +include = ["django_admin_display/py.typed"] + [tool.poetry.dependencies] python = ">=3.6.1, <4.0" # django = ">=1.11" @@ -43,8 +46,8 @@ tox-gh-actions = "^1.3.0" black = "^20.8b1" [build-system] -requires = ["poetry>=0.12"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0b1"] +build-backend = "poetry.core.masonry.api" [tool.black] line-length = 90