Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added servo/py.typed
Empty file.
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This setup.py is required to make type annotations available to dependent projects' mypy.
# Its metadata is nonauthoritative.
from distutils.core import setup

setup(
name="servox",
author="Blake Watters <[email protected]>",
version = "0.11.0",
package_data={"servo": ["py.typed"]},
packages=["servo"]
)
Comment on lines +1 to +11
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Servox uses Poetry, please configure this accordingly in the pyroject.toml and remove the setup.py:

servox/pyproject.toml

Lines 10 to 12 in 81cba8d

packages = [
{ include = "servo" },
]

https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/#adding-pytyped