api-to-roefact by RENware Software Systems
CHANGELOG 0.4.1.dev0
0.4.1.dev0
xl2roefact include a data directory in package for various data files "built-in" package (240318 h09:00)
240318piu-yaml4sys-all-vers
updatemkdocs.yml
useINHERIT: ./versions.yml
option to inherit versions exactly to haveextra
section like actual one but in this external file.240318piu-app-glob-cfg
update xl2roefact README, app configuration section ref how make a "global config file" different than default app configuration240317piu01
update downloads.md:- 1. include a template for
app_settings.yml
=> Created dedicated section which can be referred as.../downloads.md#sablon-fisier-configurare-a-aplicatiei-xl2roefact
- 1.a fixed
0.4.0.dev2
MSI & EXE deliverables file names (missing path number) - 2. refer it in xl2roefact README
- 3. include
0.4.1.dev
download;- WHEEL & DIST references
- standalone EXE reference
- MSI reference
- 1. include a template for
2403piu-config-code
updateconfig_settings.py
module to upload data from.../data/app_settings.yml
file. Specs:- 1. update app version to
0.4.1.dev0
. Make a test whatnormalized_version()
returns (run xl2roefact --version) - 2. update key
README_rules
fromapp_settings.yml
, set it to point to markdown file containing rules list (xl2roefact/xl2roefact/data/README_app_config_rules.md
) - INFO-NOTE: after YAML import data will be dict with all actual code variables as keywords
- 3. gross-raw code in
config.settings.py
for both below NOTES- INFO-NOTE: order to search and load for
app_config.yml
:- (1) crt directory (with
cwd
) withPath(Path.cwd(), "data/app_settings.yml")
- (2) package directory and file with
Path(os.path.dirname(__file__), "data/app_settings.yml")
- (3) settings from
config_settings.py
- (1) crt directory (with
- INFO-NOTE: methods of updates variables:
- (1) using
locals().update(YAML_dict)
- (2) using
exec(YAML_dict["key")
by looping YAML resulted dictionary
- (1) using
- regardless of method check the propagation running
xl2roefact settings
which is a demo of using values external to config_settings module
- INFO-NOTE: order to search and load for
- 4. apply reading order
- 5. clean code & test YAML settings files from
xl2roefact/
- 6. if read YAML was got some values then set as
local()
variables (not dictionary) - 7. updated
xl2roefact/setup.py
to includedata/app_settings.yml
file - build all: upd version (2 version files + mkdocs.yml) & pdm run build_all
- 1. update app version to
2403piu-app-data-dir
actions:- 1.a build directory with a TOML file for setting parameters (used by
config_settings
module) - 2 update
pyproject.toml
to include in package non python data files fromxl2roefact/data/
directory - 2.a test pdm building wheel ref brute errors = PASS =: package created ok and contains
data/*
with exact flies that exists in this directory at package development phase - 3. add in
.../xl2roefact/data/
fileowner_data.json
with owner data to be used as supplier info for future option--load-from-owner-file
- 4. fixed bug xl2roefact CLI app ref command
about
printing__version__.__doc__
addressing - 5. updated
.../data/app_settings.yml
with actual existing config data. Not usable as is, need refining and clarify how to indicate data types to app users (actually indicated as Python type hints)
- 1.a build directory with a TOML file for setting parameters (used by
Last update:
March 30, 2024