Skip to content

Commit 636f450

Browse files
authored
Include pyx files in package_data (#302)
1 parent e336858 commit 636f450

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ def build_extension(self, ext):
9898
author_email="joperez@hotmail.fr",
9999
license="MIT",
100100
packages=find_packages(include=["apischema*"]),
101-
package_data={"apischema": ["py.typed"]},
101+
package_data={
102+
"apischema": ["py.typed"],
103+
"apischema.deserialization": ["methods.pyx"],
104+
"apischema.serialization": ["methods.pyx"],
105+
},
102106
description="JSON (de)serialization, GraphQL and JSON schema generation using Python typing.",
103107
long_description=README,
104108
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)