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

Include py.typed in wheel file #1648

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions setup.cfg
Expand Up @@ -22,11 +22,13 @@ classifiers =
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: System :: Systems Administration
Typing :: Typed

[options]
python_requires = >=3.7
setup_requires = setuptools_scm
packages = find:
include_package_data = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
include_package_data = true
package_data = piptools = py.typed

Mayby explicitly define certain package data?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@atugushev Thanks! This line was not working but I found how to do it properly here. That's much better than include_package_data.

zip_safe = false
install_requires =
# direct dependencies
Expand Down