Skip to content

Where i can find _ba<lib name>.py stub files for modding? #592

Answered by efroemling
TheNotEasy asked this question in Q&A
Discussion options

You must be logged in to vote

As of 1.7.20, these 'dummy-module' files are generated as part of builds so that they get automatically regenerated if any of the underlying c++ stuff changes. So if you can get to the point where you can run make mypy or anything like that, then you should wind up with dummy modules generated as a side effect in build/dummymodules. You can also just do make dummymodules to ask for them directly.

Though this gets me wondering if a lot of modders don't have full environments set up and thus aren't able to easily generate them that way. Would it be worth making a static copy of them available somehow without needing to build?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheNotEasy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants