Skip to content

Commit

Permalink
Add missing files in wheel (#1874)
Browse files Browse the repository at this point in the history
* Add missing files in wheel

* Fix warnings in Python 3.12
  • Loading branch information
giswqs committed Jan 10, 2024
1 parent 3a769b0 commit b2d3fc4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include requirements_docs.txt

recursive-include geemap/data *
recursive-include geemap/examples *
recursive-include geemap/algorithms *
recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
Expand Down
14 changes: 7 additions & 7 deletions geemap/timelapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -1717,8 +1717,8 @@ def sentinel2_timeseries_legacy(
print(f"The end year must be an integer <= {get_current_year()}.")
return

if re.match("[0-9]{2}\-[0-9]{2}", start_date) and re.match(
"[0-9]{2}\-[0-9]{2}", end_date
if re.match(r"[0-9]{2}-[0-9]{2}", start_date) and re.match(
r"[0-9]{2}-[0-9]{2}", end_date
):
pass
else:
Expand Down Expand Up @@ -2033,8 +2033,8 @@ def landsat_timeseries(
print(f"The end year must be an integer <= {get_current_year()}.")
return

if re.match("[0-9]{2}\-[0-9]{2}", start_date) and re.match(
"[0-9]{2}\-[0-9]{2}", end_date
if re.match(r"[0-9]{2}-[0-9]{2}", start_date) and re.match(
r"[0-9]{2}-[0-9]{2}", end_date
):
pass
else:
Expand Down Expand Up @@ -2325,8 +2325,8 @@ def landsat_timeseries_legacy(
print("The end year must be an integer <= 2021.")
return

if re.match("[0-9]{2}\-[0-9]{2}", start_date) and re.match(
"[0-9]{2}\-[0-9]{2}", end_date
if re.match(r"[0-9]{2}-[0-9]{2}", start_date) and re.match(
r"[0-9]{2}-[0-9]{2}", end_date
):
pass
else:
Expand Down Expand Up @@ -3232,7 +3232,7 @@ def sentinel1_timelapse_legacy(
Args:
roi (object, optional): Region of interest to create the timelapse. Defaults to LV & Lake Mead.
out_gif (str, optional): File path to the output animated GIF. Defaults to user\Downloads\s1_ts_*.gif.
out_gif (str, optional): File path to the output animated GIF. Defaults to Downloads\s1_ts_*.gif.
start_year (int, optional): Starting year for the timelapse. Defaults to 2015.
end_year (int, optional): Ending year for the timelapse. Defaults to current year.
start_date (str, optional): Starting date (month-day) each year for filtering ImageCollection. Defaults to '01-01'.
Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ workshop = [

[tool]
[tool.setuptools.packages.find]
where = ["geemap"]
namespaces = false

include = ["geemap*"]
exclude = ["docs*"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
Expand Down Expand Up @@ -139,5 +138,4 @@ Homepage = "https://github.com/gee-community/geemap"

[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

build-backend = "setuptools.build_meta"

0 comments on commit b2d3fc4

Please sign in to comment.