Skip to content

Commit

Permalink
Include pyx files in package_data (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo authored Dec 30, 2021
1 parent e336858 commit 636f450
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ def build_extension(self, ext):
author_email="[email protected]",
license="MIT",
packages=find_packages(include=["apischema*"]),
package_data={"apischema": ["py.typed"]},
package_data={
"apischema": ["py.typed"],
"apischema.deserialization": ["methods.pyx"],
"apischema.serialization": ["methods.pyx"],
},
description="JSON (de)serialization, GraphQL and JSON schema generation using Python typing.",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 636f450

Please sign in to comment.