Describe the bug
build binary distributions doesn't include 'xmlcli.config' when built as wheel,
To Reproduce
build with standard binary package build
cd repo root
python -m build
import xmlcli.modules.nvram
causes traceback on import of xmlcli.modules.nvram
import xmlcli.modules.nvram
Traceback (most recent call last):
File "<python-input-2>", line 1, in <module>
import xmlcli.modules.nvram
File "/usr/lib/python3/dist-packages/xmlcli/modules/nvram.py", line 14, in <module>
from xmlcli import XmlCli as _cli
File "/usr/lib/python3/dist-packages/xmlcli/XmlCli.py", line 11, in <module>
from .common import configurations
File "/usr/lib/python3/dist-packages/xmlcli/common/configurations.py", line 53, in <module>
ENCODING = XMLCLI_CONFIG.get("GENERAL_SETTINGS", "ENCODING")
File "/usr/lib/python3.13/configparser.py", line 812, in get
d = self._unify_values(section, vars)
File "/usr/lib/python3.13/configparser.py", line 1186, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'GENERAL_SETTINGS'
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
ls /usr/lib/python3/dist-packages/xmlcli/
UefiFwParser.py XmlCliLib.py init.py _version.py common restricted tools
XmlCli.py XmlIniParser.py pycache access modules start_xmlcli.py
Platform Information (please complete the following information):
- OS: Linux
- interactive python
- BIOS version label N/A
- Source of the BIOS/IFWI image N/A
Additional context
Describe the bug
build binary distributions doesn't include 'xmlcli.config' when built as wheel,
To Reproduce
build with standard binary package build
cd repo root
python -m buildimport xmlcli.modules.nvram
causes traceback on import of xmlcli.modules.nvram
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
ls /usr/lib/python3/dist-packages/xmlcli/
UefiFwParser.py XmlCliLib.py init.py _version.py common restricted tools
XmlCli.py XmlIniParser.py pycache access modules start_xmlcli.py
Platform Information (please complete the following information):
Additional context