Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Jul 28, 2023

Resolves #124

This PR adds py.typed to the setuptools package data for the package into pyproject.toml.

[tool.setuptools.package-data]
replicate = ["py.typed"]

My understanding is that this should denote the package as being "typed" on PyPI.

For more information, see PEP 561 – Distributing and Packaging Type Information.

@mattt mattt changed the title Add packaging type information to pyproject.toml Add packaging type information to pyproject.toml Jul 28, 2023
@mattt mattt merged commit 07abc4c into main Jul 31, 2023
@mattt mattt deleted the mattt/py.typed branch July 31, 2023 21:00
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.

Request for type hints support in replicate-python

2 participants