#12391 closed enhancement (fixed)
No languages available when installing Trac as wheel
Reported by: | Ryan J Ollos | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.11 |
Component: | i18n | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Trac is distributed as a pure Python Wheel package. |
||
API Changes: | |||
Internal Changes: |
Description
When Trac is install as a wheel, the default when using pip, the languages aren't available.
$pip install trac Collecting trac Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.6 in ./pve/lib/python2.7/site-packages (from trac) Requirement already satisfied (use --upgrade to upgrade): setuptools>=0.6b1 in ./pve/lib/python2.7/site-packages (from trac) Installing collected packages: trac Successfully installed trac-1.0.10
However, if Trac is installed using the --no-binary
option, languages are available.
$pip install --no-binary=trac trac Collecting trac Using cached Trac-1.0.10.tar.gz Requirement already satisfied (use --upgrade to upgrade): setuptools>=0.6b1 in ./pve/lib/python2.7/site-packages (from trac) Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.6 in ./pve/lib/python2.7/site-packages (from trac) Skipping bdist_wheel for trac, due to binaries being disabled for it. Installing collected packages: trac Running setup.py install for trac ... done Successfully installed trac-1.0.10
Attachments (0)
Change History (6)
comment:2 by , 9 years ago
Reconsidering, we could upload *.whl package with language files to PyPI in order to install without local-building.
comment:3 by , 9 years ago
Milestone: | next-stable-1.0.x → 1.0.11 |
---|---|
Type: | defect → enhancement |
It looks like you are correct. Languages are available if installing wheel using --no-cache-dir
option.
I like the idea of creating a wheel at the next release. I guess we should create a pure python wheel since we don't yet support Python 3.
comment:4 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Updated release checklist in TracDev/ReleaseChecklist@104.
comment:5 by , 9 years ago
Owner: | set to |
---|
comment:6 by , 9 years ago
Release Notes: | modified (diff) |
---|
That is not a Trac issue. I think you've installed Trac without Babel and created *.whl package is reused.