Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meet kaitaiStructCompile.py #352

Open
KOLANICH opened this issue Feb 6, 2018 · 5 comments
Open

Meet kaitaiStructCompile.py #352

KOLANICH opened this issue Feb 6, 2018 · 5 comments

Comments

@KOLANICH
Copy link

KOLANICH commented Feb 6, 2018

https://gitlab.com/kaitaiStructCompile.py

@GreyCat
Copy link
Member

GreyCat commented Feb 6, 2018

That's cool, thanks! When it would be considered relatively stable & released, would you mind adding some info on how to integrate into regular Pythonian workflow that into python-specific section of KS documentation?

@KOLANICH
Copy link
Author

KOLANICH commented Feb 6, 2018

I think we can add into the docs immediately, it is useful even though it is not stable.

@KOLANICH
Copy link
Author

KOLANICH commented Oct 27, 2018

I have updated the stuff. Now it resides in GitLab. https://gitlab.com/kaitaiStructCompile.py

  1. Separated backends from core. Relicense under another license #466 is needed to release the better backend.
  2. Implemented importer. KSY can be just imported now. importlib.reload doesn't work I don't know why. calling it spoils the module.
  3. refactored the code a bit.

Needs testing and review.

@arekbulski @dgladkov

@KOLANICH
Copy link
Author

KOLANICH commented Aug 6, 2020

kaitaiStructCompile has improved. Now it injects a build stage instead of immediately invoking it. This causes the transpilation only on building, not on any setup invocation, such as when called python3 ./setup.py --help. Some args can now be redefined via CLI, but it is not really supported for now.

Also, long ago (January 2020) , the config has been migrated into pyproject.toml.

@KOLANICH
Copy link
Author

KOLANICH commented Sep 5, 2022

Plugins for poetry and hatchling have been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants