-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyproject.toml: add readme to the dynamic metadata list (#1197)
+ pyproject.toml: add readme to the dynamic metadata list, attempting to fix the "Not finding README.md specified in pyprojet.toml" error on PyPI website. + simulation.iono.py: fix typo
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ authors = [ | |
{ name = "Zhang Yunjun", email = "[email protected]" }, | ||
{ name = "Heresh Fattahi", email = "[email protected]" }, | ||
] | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
requires-python = ">=3.8" | ||
|
||
keywords = ["InSAR", "deformation", "time-series", "volcano", "tectonics", "geodesy", "geophysics", "remote-sensing"] | ||
|
@@ -26,7 +25,7 @@ classifiers=[ | |
# see section: setuptools_scm | ||
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata | ||
# dependencies will be read from text files | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
dynamic = ["version", "readme", "dependencies", "optional-dependencies"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/insarlab/MintPy" | ||
|
@@ -35,7 +34,7 @@ Issues = "https://github.com/insarlab/MintPy/issues" | |
|
||
# Entry points for the command line interface | ||
[project.scripts] | ||
mintpy = "mintpy.__main__:main" | ||
"mintpy" = "mintpy.__main__:main" | ||
"add.py" = "mintpy.cli.add:main" | ||
"asc_desc2horz_vert.py" = "mintpy.cli.asc_desc2horz_vert:main" | ||
"closure_phase_bias.py" = "mintpy.cli.closure_phase_bias:main" | ||
|
@@ -109,6 +108,7 @@ include-package-data = true | |
|
||
[tool.setuptools.dynamic] | ||
dependencies = { file = ["requirements.txt"] } | ||
readme = { file = ["README.md"], content-type = "text/markdown" } | ||
|
||
# extra requirements: `pip install pysolid[test]` or `pip install .[test]` | ||
[tool.setuptools.dynamic.optional-dependencies.test] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters