sizmailov / pybind11-stubgen

Generate stubs for python modules
Other
228 stars 45 forks source link

How does version==2.1 support input of two modules #144

Closed tututuski closed 11 months ago

tututuski commented 11 months ago

When version==0.16.2, the following instructions is supported:

pybind11-stubgen a b

But in the case of version==2.1, an error occurs:

usage: pybind11-stubgen [-h] [-o OUTPUT_DIR] [--root-suffix ROOT_SUFFIX]
                         [--ignore-invalid-expressions REGEX]
                         [--ignore-invalid-identifiers REGEX]
                         [--ignore-unresolved-names REGEX]
                         [--ignore-all-errors]
                         [--numpy-array-wrap-with-annotated | --numpy-array-remove-parameters]
                         [--print-invalid-expressions-as-is] [--exit-code]
                         [--dry-run] [--stub-extension EXT]
                         MODULE_NAME
pybind11-stubgen: error: unrecognized arguments: b

Thank you.

sizmailov commented 11 months ago

Multiple module arguments are not supported by pybind11-stubgen>=1.0 .