Skip to content

Add packaging type information to pyproject.toml #127

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

Merged
merged 1 commit into from
Jul 31, 2023
Merged

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.

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@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
1 participant