comparison doc/tracker_templates.txt @ 8313:3614cd64f4c4

build: issue2551397: remove support for python 3.6 3.7 ci build works. Make changes to make 3.7 current minimum supported version. Also removed some references that apply only when running under 2.7.
author John Rouillard <rouilj@ieee.org>
date Sun, 11 May 2025 17:50:44 -0400
parents 6985f0ff3df3
children
comparison
equal deleted inserted replaced
8312:ccbfe79e1e8c 8313:3614cd64f4c4
3 ========================= 3 =========================
4 4
5 The templates distributed with Roundup are stored in the "share" directory 5 The templates distributed with Roundup are stored in the "share" directory
6 nominated by Python. On Unix this is typically 6 nominated by Python. On Unix this is typically
7 ``/usr/share/roundup/templates/`` (or ``/usr/local/share...``) and 7 ``/usr/share/roundup/templates/`` (or ``/usr/local/share...``) and
8 on Windows this is ``c:\python27\share\roundup\templates\``. 8 on Windows this is ``c:\python38\share\roundup\templates\``.
9 9
10 The template loading looks in four places to find the templates: 10 The template loading looks in four places to find the templates:
11 11
12 1. *share* - eg. ``<prefix>/share/roundup/templates/*``. 12 1. *share* - eg. ``<prefix>/share/roundup/templates/*``.
13 This should be the standard place to find them when Roundup is 13 This should be the standard place to find them when Roundup is
15 2. ``install_dir``/../<prefix>/share/....``, where prefix is the 15 2. ``install_dir``/../<prefix>/share/....``, where prefix is the
16 Python's ``sys.prefix``. ``sys.base_prefix`` or 16 Python's ``sys.prefix``. ``sys.base_prefix`` or
17 `sys.base_prefix/local``. This finds templates (and locales) 17 `sys.base_prefix/local``. This finds templates (and locales)
18 installed by pip. E.G. in a virtualenv located at (``sys.prefix``): 18 installed by pip. E.G. in a virtualenv located at (``sys.prefix``):
19 ``/tools/roundup``, roundup would be at: 19 ``/tools/roundup``, roundup would be at:
20 ``/tools/roundup/lib/python3.6/site-packages/roundup``. The 20 ``/tools/roundup/lib/python3.7/site-packages/roundup``. The
21 templates would be at: 21 templates would be at:
22 ``/tools/roundup/lib/python3.6/site-packages/tools/roundup/share/roundup/templates/``. 22 ``/tools/roundup/lib/python3.7/site-packages/tools/roundup/share/roundup/templates/``. (Replace 3.7 with the Python version you are running.)
23 3. ``<roundup.admin.__file__>/../../share/roundup/templates/*``. 23 3. ``<roundup.admin.__file__>/../../share/roundup/templates/*``.
24 This will be used if Roundup's run in the distro (aka. source) 24 This will be used if Roundup's run in the distro (aka. source)
25 directory. 25 directory.
26 4. ``<current working dir>/*``. 26 4. ``<current working dir>/*``.
27 This is for when someone unpacks a 3rd-party template. 27 This is for when someone unpacks a 3rd-party template.

Roundup Issue Tracker: http://roundup-tracker.org/