-
Notifications
You must be signed in to change notification settings - Fork 213
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
Exclude CODE_OF_CONDUCT.md, AUTHORSHIP.md and pygmt/tests directory from distributions #2957
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ name = "pygmt" | |
description = "A Python interface for the Generic Mapping Tools" | ||
readme = "README.rst" | ||
requires-python = ">=3.9" | ||
license = {text = "BSD License"} | ||
weiji14 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
authors = [{name = "The PyGMT Developers", email = "pygmt.team@gmail.com"}] | ||
keywords = [ | ||
"cartography", | ||
|
@@ -56,15 +55,12 @@ changelog = "https://www.pygmt.org/latest/changes.html" | |
|
||
[tool.setuptools] | ||
platforms = ["Any"] | ||
include-package-data = true | ||
license-files = ["LICENSE.txt"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't have package data to include, so keeping this line may be more confusing (although the default is still There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mm ok, I see you removed the |
||
|
||
[tool.setuptools.packages.find] | ||
include = ["pygmt*"] | ||
exclude = ["doc"] | ||
|
||
[tool.setuptools.package-data] | ||
tests = ["data/*", "baseline/*"] | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "node-and-date" | ||
fallback_version = "999.999.999+unknown" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license