Opened 3 years ago

Closed 3 months ago

Last modified 3 months ago

#24270 closed Bug (fixed)

Wheel package does not contain 'extras' directory

Reported by: Matt Layman Owned by: nobody
Component: Packaging Version: 1.7
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I installed Django from pip and it installs the whl package file by default. While looking for the django_bash_completion script, I discovered that the whl does not include the 'extras' directory.

Since the 'extras' directory is referenced in the documentation (, it seems appropriate to include 'extras' in the whl package.

Change History (4)

comment:1 Changed 3 years ago by Tim Graham

Triage Stage: UnreviewedAccepted

This is related to #21511. It seems to me the solution would be to require installing the extras directory (not sure it can be done without turning it into a Python package, and not sure we want to do that). Unless an alternative is proposed, the best route might be to clarify the documentation to say that the script is included in the "source distribution" and not the wheel.

comment:2 Changed 3 months ago by Carlton Gibson

Has patch: set


Scopes reference to "source distribution" as per suggestion. Should resolve as Fixed. (Further PRs always welcome, if a better solution presents itself.)

comment:3 Changed 3 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 43b148f:

Fixed #24270 -- Doc'd that django_bash_completion is only in the source distribution.

comment:4 Changed 3 months ago by Tim Graham <timograham@…>

In 0edcc72:

[2.0.x] Fixed #24270 -- Doc'd that django_bash_completion is only in the source distribution.

Backport of 43b148f41fa7a5c3f74e0198d9c72074abe9a9bc from master

Note: See TracTickets for help on using tickets.
Back to Top