Skip to content

No stub for setuptools? #2171

Closed
Closed

Description

@rbtcollins

I see one for pkg_resources, but setuptools is missing - seems like that would be useful, no?

Activity

  1. gvanrossum commented on May 29, 2018

    @gvanrossum
    Member
  2. rbtcollins commented on May 29, 2018

    @rbtcollins
    MemberAuthor

    The way I ran into this was that I wanted to be sure all Python code we wrote (at work) was getting linted, and didn't do anything specific to avoid linting setup.py.

    However wearing another hat - as a (somewhat emeritus) maintainer of pbr, there setuptools stubs would be directly and meaningfully useful, because pbr itself makes extensive use of the setuptools APIs.

  3. JelleZijlstra commented on May 29, 2018

    @JelleZijlstra
    Member

    The reason there's no stub for setuptools is that nobody has contributed one, and the reason nobody has contributed one is probably that type checking setup.py is not that useful for most people (as Guido says).

    We'd likely accept a PR adding stubs for setuptools though.

  4. srittau commented on Aug 26, 2020

    @srittau
    Collaborator

    We are closing all third-party stub requests issues without recent activity. We still welcome pull requests that add these to typeshed, although distributing the stubs with the the third-party package itself is preferable.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: requestOUTDATED! Request to add stubs for a new package to typeshed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions