Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made ServoX PEP 561 compliant #349

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Made ServoX PEP 561 compliant #349

wants to merge 3 commits into from

Conversation

@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
Collaborator

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