kaitaiStructCompile / kaitaiStructCompile.py

Compilation of *.ksy into *.py from python
https://gitlab.com/kaitaiStructCompile.py/
The Unlicense
4 stars 2 forks source link

An issue for announcements #10

Open KOLANICH opened 2 years ago

KOLANICH commented 2 years ago

If you don't want to subscribe all the whole repos of the project, you can subscribe this issue to get notified about important announcements

KOLANICH commented 2 years ago

I have changed kaitaiStructCompile.schemas and kaitaiStructCompile.setuptools in order to change the format of pyproject.toml. Now we support pulling specs from multiple repos and multiple branches. Unfortunately it would requre changes in all the projects using kaitaiStructCompile.setuptools.

Now instead tool.kaitai.repo and tool.kaitai.formats we have tool.kaitai.repos."repo uri"."refspec" (in this case one should not set git and refspec keys) and tool.kaitai.repos."repo uri"."refspec".formats. The migration should be easy, but it has to be done.

KOLANICH commented 2 years ago

@abitrolly, I have merged everything except the backends into this repo. I did it not because I feel that is right, but because I think it is a bit little pain to have editable installs of the backends. I have renamed the backend packages, niw they live in own dirs, and so can be editably installed. Everything else is merged back, just to not to shit in site-packages and dist-packages.

KOLANICH commented 2 years ago

I also have changed the API for postprocessors. Now a dict is acdepted and postprocessors can get arguments!

2 additional postprocessors have been implemented, but they currently require latest versions of python.

  1. fixEnums replaces Enum with IntEnum
  2. applyPatches applies patch files. But don't use for now, it has some issues.