id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 11640 Locale data not included in egg when installing using easy_install Ryan J Ollos Jun Omae "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: {{{#!sh $ 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 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 [attachment: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): {{{#!sh $ python --version Python 2.7.4 $ easy_install --version distribute 0.6.34 $ virtualenv --version 1.9.1 $ 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: {{{#!sh $ 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 lib/python2.7/site-packages/trac/locale }}} " defect closed normal 0.12.6 general 1.0.1 normal fixed distribute setuptools Jun Omae holger.juergs@… Fix compiled catalog and javascript message files not included in egg file if using `easy_install` and `bdist_egg` of distribute 0.6.29 and later.