-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transition from setup.py to pyproject.toml
* Migrate packaging to pyproject.toml, python>=3.10 * Set gh action for pypi publication with setuptools-scm * Update MANIFEST.in * Update MANIFEST.in * Add trollsift dependence * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml * Add __version__ retrieval * Set python>=3.8 in pyproject.toml --------- Co-authored-by: Gionata Ghiggi <[email protected]>
- Loading branch information
Showing
7 changed files
with
71 additions
and
84 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
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
prune .github | ||
prune data | ||
prune docs | ||
prune disdrodb/l0/manuals | ||
prune disdrodb/l0/scripts | ||
prune disdrodb/tests |
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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "disdrodb" | ||
authors = [ | ||
{name = "Gionata Ghiggi"}, | ||
] | ||
description = "This package provides tools to homogenize, process, and analyze global disdrometer data." | ||
readme = "README.md" | ||
keywords = ["python", "disdrometer"] | ||
classifiers = [ | ||
"Development Status :: 1 - Planning", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: Unix", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"click", | ||
"h5py", | ||
"netCDF4", | ||
"trollsift", | ||
"pyarrow", | ||
"PyYAML", | ||
"setuptools", | ||
"xarray", | ||
"dask", | ||
] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "disdrodb/_version.py" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["disdrodb"] | ||
|
||
[project.scripts] | ||
# L0A | ||
run_disdrodb_l0a_station="disdrodb.l0.scripts.run_disdrodb_l0a_station:run_disdrodb_l0a_station" | ||
run_disdrodb_l0a="disdrodb.l0.scripts.run_disdrodb_l0a:run_disdrodb_l0a" | ||
# L0B | ||
run_disdrodb_l0b_station="disdrodb.l0.scripts.run_disdrodb_l0b_station:run_disdrodb_l0b_station" | ||
run_disdrodb_l0_station="disdrodb.l0.scripts.run_disdrodb_l0_station:run_disdrodb_l0_station" | ||
# L0B concatenation | ||
run_disdrodb_l0b_concat_station="disdrodb.l0.scripts.run_disdrodb_l0b_concat_station:run_disdrodb_l0b_concat_station" | ||
run_disdrodb_l0b_concat="disdrodb.l0.scripts.run_disdrodb_l0b_concat:run_disdrodb_l0b_concat" | ||
# L0 | ||
run_disdrodb_l0b="disdrodb.l0.scripts.run_disdrodb_l0b:run_disdrodb_l0b" | ||
run_disdrodb_l0="disdrodb.l0.scripts.run_disdrodb_l0:run_disdrodb_l0" |