Edgewall Software

Opened 7 years ago

Last modified 7 years ago

#11640 closed defect

Locale data not included in egg when installing using easy_install — at Initial Version

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: 0.12.6
Component: general Version: 1.0.1
Severity: normal Keywords: distribute setuptools
Cc: Jun Omae, holger.juergs@… Branch:
Release Notes:
API Changes:
Internal Changes:


I was investigating the issue reported in SO:24019549, and encountered a problem with the locale data not being included in the egg.

The problem is demonstrated in the following:

$ mkdir trac
$ cd trac
$ virtualenv . > /dev/null
$ . bin/activate
$ easy_install babel==0.9.6 > /dev/null
$ easy_install -v trac > trac_easy_install.log
$ ls -d lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac
$ ls -d lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/locale
ls: cannot access lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/locale: No such file or directory

What I see in trac_easy_install.log is:

  • The catalogs are being compiled.
  • The locale data is not being copied into the build directory.

Package versions (Ubuntu 13.04):

$ python --version
Python 2.7.4
$ easy_install --version
distribute 0.6.34
$ virtualenv --version
$ pip --version
pip 1.3.1 from /home/user/Workspace/trac/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg (python 2.7)

I've had success using pip though:

$ mkdir trac
$ cd trac
$ virtualenv . > /dev/null
$ . bin/activate
$ easy_install babel==0.9.6 > /dev/null
$ pip install trac > trac_pip_install.log
$ $ ls -d lib/python2.7/site-packages/trac/locale

Change History (1)

by Ryan J Ollos, 7 years ago

Attachment: trac_easy_install.log added
Note: See TracTickets for help on using tickets.