We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8df3d1c commit 777db05Copy full SHA for 777db05
pyproject.toml
@@ -41,6 +41,9 @@ version = {attr = "mistune.__version__"}
41
[tool.setuptools.packages.find]
42
where = ["src"]
43
44
+[tool.setuptools.package-data]
45
+mistune = ["py.typed"]
46
+
47
[tool.pytest.ini_options]
48
pythonpath = ["src", "."]
49
testpaths = ["tests"]
setup.py
@@ -1,8 +1,3 @@
1
from setuptools import setup
2
3
-# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.
4
-
5
-setup(
6
- name="mistune",
7
- package_data={"mistune": ["py.typed", ]}
8
-)
+setup(name="mistune")
0 commit comments