FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

`setuptools.setup()` `libraries` parameter is wrong · Issue #12752 · python/typeshed · GitHub

setuptools.setup() libraries parameter is wrong #12752

Description

it should be list[tuple[str, dict[str, Any]]]

as seen in these files:
https://github.com/pypa/setuptools/blob/66a8aee91de7ed8b0f819fb836e5543212e4b860/setuptools/command/build_clib.py
https://github.com/pypa/setuptools/blob/66a8aee91de7ed8b0f819fb836e5543212e4b860/setuptools/_distutils/command/build_clib.py

The valid keys/values in that dictionary are:

sources: list[str] | tuple[str]
obj_deps: dict[str, list[str] | tuple[str]]
macros: list[tuple[str, str] | tuple[str]]
include_dirs: list[str]
cflags: list[str]

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: improvementImprove/refactor existing annotations, other stubs issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL