Mercurial > p > roundup > code
diff CHANGES.txt @ 6524:f961dbbc3573
issue2551167 roundup issues when using pip install
Running pip install generates a wheel install. This places locale,
template and man pages under site-packages/usr/share/....
These changes make roundup look there for templates (affecting
admin.py) and locale (affecting i18n.py) files. This also makes it
work better in virtual environment and containers (docker).
There is also a commented out bit of code in setup.py that prevents it
from making a bdist_wheel forcing a regular install with files put
under /usr/locale etc. This can be re-enabled if needed for 2.2 if
there are still issues with roundup that aren't solved by then.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 07 Nov 2021 01:49:03 -0400 |
| parents | e6ae8188f61a |
| children | c505c774a94d |
line wrap: on
line diff
--- a/CHANGES.txt Sat Nov 06 15:29:24 2021 -0400 +++ b/CHANGES.txt Sun Nov 07 01:49:03 2021 -0400 @@ -35,6 +35,9 @@ length. All other paths with a . in then will be passed through without change. This allows items like a JWT to be passed as a path element. (John Rouillard) +- issue2551167 - pip install in containerized environments puts + template and locale files under site-packages where roundup can't find + them. Change code to find them under site-packages. Features:
