Skip to content

Commit

Permalink
Expose distinfo files
Browse files Browse the repository at this point in the history
This allows exposing things like `entry_points.txt`, which distutils uses to automatically find new commands (such as bdist_wheel).
  • Loading branch information
fahhem committed Dec 6, 2021
1 parent fb02cb7 commit 6713693
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/whl.py
Expand Up @@ -245,6 +245,12 @@ def main():
{dependencies}
],
)
filegroup(
name = "distinfo",
srcs = glob(["*.dist-info/**"]),
)
{extras}""".format(
requirements=args.requirements,
dependencies=",".join(['requirement("%s")' % d for d in dependencies(pkg)]),
Expand Down

0 comments on commit 6713693

Please sign in to comment.