-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary files in the source distribution? #904
Labels
Milestone
Comments
weiji14
added
help wanted
Helping hands are appreciated
maintenance
Boring but important stuff for the core devs
and removed
question
Further information is requested
labels
Feb 16, 2021
5 tasks
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 |
This was referenced Mar 2, 2021
Closed
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Running
python setup.py sdist
will build a PyGMT source distribution in thedist
directory (e.g.,dist/pygmt-0.3.0.tar.gz
.The tarball contains the PyGMT source codes. Below is the list of top-level files and directories:
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.The text was updated successfully, but these errors were encountered: