![]() $( PIP) install -upgrade $( PROJECT_BASE)/dist/ $( MODULE)- *.whl ![]() Install: $( PROJECT_BASE)/dist/ $( MODULE)- *.whl $( PROJECT_BASE)/dist/ $( MODULE)-*.whl: build $( PYTHON) -m twine upload dist/ * -verbose $( PYTHON) -m venv -upgrade-deps $( PROJECT_BASE)/.venv $( PROJECT_BASE)/.venv/bin/python -m pip install -upgrade pip Source $( PROJECT_BASE)/.venv/bin/activate $( CONF_DIR)/GarminConnectConfig.json: $( CONF_DIR)Ĭp $( PROJECT_BASE)/garmindb/ $( CONF_DIR)/GarminConnectConfig.json SUBDIRS=fitbitdb garmindb healthdb mshealthdb # update the exisitng dbs by downloading data files for dates after the last in the dbs and update the dbs Rebuild_dbs: rebuild_fitbit rebuild_mshealth rebuild_garmin # delete the exisitng dbs and build new dbs from already downloaded data files # build dbs from already downloaded data filesĬreate_copy_dbs: copy_garmin mshealth fitbit # Use for an intial download or when the start dates have been changed. Setup_repo: $( CONF_DIR)/GarminConnectConfig.json $( PROJECT_BASE)/.venv submodules_updateĬlean_dbs: clean_mshealth_db clean_fitbit_db clean_garmin_dbs It wraps the core Python scripts and runs them with appropriate parameters. ![]() # between downloading and generating varies types of data. The Makefile targets handle the dependancies # This Makefile handles downloading data from Garmin Connect and generating SQLite DB files from that data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |