Opened 15 years ago

Closed 15 years ago

#11979 closed (invalid)

build omits django/conf/locale

Reported by: jbergstroem Owned by: nobody
Component: Core (Other) Version: 1.1
Severity: Keywords: locale install test
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

While working with a test failure in the Django test suite, I found out that a "python setup.py build" will omit django/conf/locale from the package.
This is the result of tree walk omitting directories without a init.py (see setup.py:53-60).
There are a couple of ways to solve this (where adding a init.py to django/conf/locale/ would be the laziest), so you guys will probably sort it out.

(btw, should there be a "Install/setup" component?)

Change History (2)

comment:1 by jbergstroem, 15 years ago

And with init.py I of course meant __init__.py

comment:2 by James Bennett, 15 years ago

Resolution: invalid
Status: newclosed

As of Python 2.6, setup.py build only places Python modules and and C extensions into the build directory, and does not deal with anything else; as such this is a (documented) limitation of distutils, and I don't think we'll be mis-labeling our locale data as code to try to work around it.

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