Skip to content

Conversation

@ekalosak
Copy link
Contributor

@ekalosak ekalosak requested a review from blakewatters October 14, 2021 21:35
@linkous8 linkous8 requested review from linkous8 and removed request for blakewatters November 17, 2021 17:01
Comment on lines +1 to +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"]
)
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants