You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unnecessary files in the source distribution? #904
I'm not familiar with Python source distributions, but some files seem unnecessary (e.g., vercel.json, package.json, .github).
Reading the Python package guide, I thought most plaintext files won't be added into the source distribution, unless explicitly specified in the MANIFEST.in file. Perhaps my understanding is wrong.
Yeah we should fix this by the next release (v0.3.1). Not that we'll reach it anytime soon, but PyPI has a 10GB total project size limit, and a 100 MB project upload limit (i.e. per release/version).
Activity
weiji14 commentedon Feb 16, 2021
Yeah we should fix this by the next release (v0.3.1). Not that we'll reach it anytime soon, but PyPI has a 10GB total project size limit, and a 100 MB project upload limit (i.e. per release/version).
seisman commentedon Mar 2, 2021
So setuptools_scm includes all files in the source distribution by default.
See https://github.com/pypa/setuptools_scm#file-finders-hook-makes-most-of-manifestin-unnecessary and pypa/setuptools-scm#516.
I think we need to explicitly exclude unnecessary files in the
MANIFEST.infile.