nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.32k stars 95 forks source link

Add gen modules scripts #175

Closed UuuNyaa closed 6 months ago

UuuNyaa commented 7 months ago

Purpose of the pull request

Description about the pull request

run_gen_module.sh Usage

$ bash tools/utils/run_gen_module.sh
Usage: bash tools/utils/run_gen_module.sh <target_version>
  Available <target_version>: 2.78 2.79 2.80 2.81 2.82 2.83 2.90 2.91 2.92 2.93 3.0 3.1 3.2 3.3 3.4 3.5 3.6 4.0 latest

$ bash tools/utils/run_gen_module.sh 4.0
... build log ...

The results are output to build directory.

$ ls build
blender-bin  blender-src  examples  generated_mods  results  sphinx-in  sphinx-in-tmp
Directory Contents
build/blender-bin Blender binaries
build/blender-src Blender source code
build/examples Blender Python API sample code
build/generated_mods ??? mods
build/results Result *.pyi files
build/sphinx-in Blender Python API documents
build/sphinx-in-tmp ???
UuuNyaa commented 6 months ago

@nutti Made the following edits:

nutti commented 6 months ago

@UuuNyaa

Thanks for your work! The current change fails the latest build workflow. But this test is not required for merging this PR. After all conversations are resolved, I will merge.

UuuNyaa commented 6 months ago

@nutti Thank you for your review! I have pushed the modified code.

nutti commented 6 months ago

Thank for for your contribution! @UuuNyaa