--- title: Scott - Install --- # Installing Scott You can install Scott for your application using one of the following mechanisms: ## Option 1: Install from a built wheel Follow the instructions to [build Scott from source](build-from-source.md). Then from the `{project-root}/dist` folder, install the wheel with pip: ```sh cd /your/application/project/root python -m venv .venv source .venv/bin/activate pip install {project-root}/dist/*.whl ``` This assumes that your application is using a virtual environment. ## Option 2: Install from a Git repository This is the recommended approach. `Scott` is hosted as a Python package on a Git repository at https://rprime.indroneel.co/termhole/scott.git You can install directly from this repository instead of a built wheel. Use pip with the repository URL. ```sh cd /your/application/project/root python -m venv .venv source .venv/bin/activate pip install "git+https://rprime.indroneel.co/termhole/scott.git" ``` __Using the Python build tool__ If your application is managed with Python build tooling, you can declare `Scott` as a dependency in your app's `pyproject.toml` instead of installing it manually with `pip`. Add the following entry under the project's dependencies: ```toml dependencies = [ "scott @ git+https://rprime.indroneel.co/termhole/scott.git" ] ``` The next time you build or refresh your application's environment, `Scott` will be installed automatically into the active virtual environment. ```sh cd /your/application/project/root python -m venv .venv source .venv/bin/activate python -m build ``` OR ```sh pip install -e . ``` ## Option 3: Install a local editable copy Use this option when you want to modify `Scott` while developing against an application that depends on it. First, clone the `Scott` repository to a local working directory: ```sh cd /your/working/directory git clone https://rprime.indroneel.co/termhole/scott.git ``` Then install that checkout in editable mode from your application project: ```sh cd /your/application/project/root python -m venv .venv source .venv/bin/activate pip install -e /your/working/directory/scott ``` This makes the installed package point to your local source tree, so changes in `Scott` are picked up immediately. After that, you can either build your application package or install your app in editable mode from its own project directory: ```sh python -m build ``` or ```sh pip install -e . ```