[issue2551167] Runinng pip install in containerized environment buries shared files under site-packages
John Rouillard <[email protected]> Sat, 06 Nov 2021 17:18:17 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from John Rouillard: Issue 2551163 added support for docker containerization. If you built using the 2.1.0 from pypi, the wheel that is built buries the tracker templates, man pages etc. under the site-packages/usr/local/share/.... Where it is not found by roundup. I have a workaround for the Dockerfile case (copy the tree to the right place), but setup.py should not be creating it this way in the first place. make_data_files_absolute or other changes in setup.py when using setuptools needs to be modified to fix this. setup.py needs to work on non-containerized environments as well, so modifying the search list to look under site-packages/usr/.../share/... isn't a good solution. Note that putting things outside the site-packages tree can cause a conflict for 2 or more roundup deployments in virtualenv's or local hardware. The external directory tree will be modified by both. ---------- components: Installation messages: 7356 nosy: rouilj priority: normal severity: normal status: new title: Runinng pip install in containerized environment buries shared files under site-packages type: behavior versions: devel _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551167> _________________________________________________