Skip to content
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

Allow osxphotos run to automatically install dependencies #1794

Open
RhetTbull opened this issue Feb 6, 2025 · 0 comments
Open

Allow osxphotos run to automatically install dependencies #1794

RhetTbull opened this issue Feb 6, 2025 · 0 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@RhetTbull
Copy link
Owner

Read uv-style dependency blocks and use pip install to install them before running the script

# uv dependencies
# run this with uv: `uv run recover_photos_albums.py`
# /// script
# dependencies = [
#   "click>=8.1.3",
#   "inflect>=7.5.0",
#   "more-itertools>=8.8.0",
#   "osxphotos>=0.69.2",
#   "photoscript>=0.4.0",
#   "questionary>=2.1.0",
#   "rich>=13.5.2",
# ]
# ///
@RhetTbull RhetTbull added the dependencies Pull requests that update a dependency file label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant