Installation¶
Prerequisites¶
- Python 3.10+
- Git (for submodules)
Quick Install¶
# Clone with submodules
git clone --recurse-submodules https://github.com/ASCS-eV/credentials.git
cd credentials
# Create/update .venv, install the root package and submodule deps,
# and install the pre-commit hooks
make setup
If you want to activate the managed environment manually after make setup,
use .\.venv\Scripts\Activate.ps1 in Windows PowerShell, or
source .venv/bin/activate on macOS, Linux, and Git Bash.
Update an Existing Checkout¶
What make setup Does¶
- Creates
.venv/if needed - Installs
credentials,harbour-credentials, andontology-management-basein editable mode with development dependencies - Installs the local
pre-commithooks