Skip to content

Commit

Permalink
Use uv as package manager and update to python 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudius Röhl committed Oct 21, 2024
1 parent da96ef6 commit c22ea82
Show file tree
Hide file tree
Showing 6 changed files with 420 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ mow.log
tests/test_aggregate*
.venv
*.html
.coverage*
.coverage*
.python-version
4 changes: 2 additions & 2 deletions modules/mow/mow.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@ def list_todos(self, stage: str):
if stage != "copy"
else self.settings["copy_source_dir"]
)
for item in items if len(items) < 100 else items[:100]:
for item in items if len(items) < 100 else items[:30]:
logging.info(item)

if len(items) > 100:
logging.info(f"... and {len(items) - 100} more items ...")
logging.info(f"... and {len(items) - 30} more items ...")

def _getStageAfter(self, stage: str) -> str:
if stage not in self.stageToFolder:
Expand Down
19 changes: 18 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
[project]
name = "mow"
version = "0.1.0"
description = "Mow - a media organization workflow tool"
requires-python = ">=3.12"
dependencies = [
"folium>=0.17.0",
"gpxpy>=1.6.2",
"pillow>=11.0.0",
"polars>=1.10.0",
"pyexiftool>=0.5.6",
"pyyaml>=6.0.2",
"rich>=13.9.2",
"tqdm>=4.66.5",
]


[tool.pytest.ini_options]
log_cli = false
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
5 changes: 5 additions & 0 deletions pyproject.toml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[tool.pytest.ini_options]
log_cli = false
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
Loading

0 comments on commit c22ea82

Please sign in to comment.