Skip to content

Add complete tarballs to releases on GitHub or extend MANIFEST.in to include mypyc/lib-rt #7570

@mr-c

Description

@mr-c

Hello,

I'm updating the Debian Package for mypy and very happy to have mypyc included.

When using the sdist from PyPI we are unable to build with MYPY_USE_MYPYC=1 as the mypyc/lib-rt directory is not present.

Switching to the autogenerated source code tarballs from the GitHub releases doesn't work because they lack the Git submodules, specifically mypy/typeshed

https://github.com/python/mypy/releases/tag/v0.730

We'd love to include the much faster and compiled version of mypy in Debian.

Options:

  1. Tarballs that contain mypy/typeshed are added to the GitHub releases (manually at first, and then automatically)
  2. MANIFEST.in is augmented to include the missing paths, such at mypyc/lib-rt and misc/proper_plugin.py (referenced from mypy_self_check.ini which we run)

mypyc/lib-rt/ is about 29K gzip'd, so I don't think that is too much to add to the sdist.

I'm happy to send a PR for option 2, just let me know.

Thanks, as always, for a fantastic project!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy