Refactor update osxmetadata (#804)

* Updated osxmetadata to use v1.0.0

* Added README_DEV

* fix for missing detected_text xattr

* fix for missing detected_text xattr
This commit is contained in:
Rhet Turnbull
2022-10-15 22:12:11 -07:00
committed by GitHub
parent 0ba8bc3eb9
commit 5665cf1804
9 changed files with 142 additions and 69 deletions

25
README_DEV.md Normal file
View File

@@ -0,0 +1,25 @@
# Developer Notes for osxphotos
These are notes for developers working on osxphotos. They're mostly to help me remember how to do things in this repo but will be useful to anyone who wants to contribute to osxphotos.
## Installing osxphotos
- Clone the repo: `git clone git@github.com:RhetTbull/osxphotos.git`
- Create a virtual environment and activate it: `python3 -m venv venv` then `source venv/bin/activate`. I use [pyenv](https://github.com/pyenv/pyenv) with [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) to manage my virtual environments
- Install the requirements: `pip install -r requirements.txt`
- Install the development requirements: `pip install -r requirements-dev.txt`
- Install osxphotos: `pip install -e .`
## Running tests
- Run all tests: `pytest`
See the [test README.md](tests/README.md) for more information on running tests.
## Building the package
- Run `./build.sh` to run the build script.
## Other Notes
[cogapp](https://nedbatchelder.com/code/cog/index.html) is used to update the README.md and other files. cog will be called from the build script as needed.