Installation
Version: 0.9.8.1
Installation requires system prerequisites, Python environment setup, and dependency installation. This guide covers both standard user and developer installations.
System prerequisites
Section titled “System prerequisites”- Git: required for repository access.
- C++ build tools: the
roughpylibrary provides pre-compiled wheels for most platforms, but build tools may be required.
Linux (Debian/Ubuntu):
sudo apt-get updatesudo apt-get install build-essential python3-devmacOS:
xcode-select --installWindows: install “Microsoft C++ Build Tools” via Visual Studio with the “Desktop development with C++” workload.
Python prerequisites
Section titled “Python prerequisites”- Python: 3.10+ required.
- pip: ensure up to date (included with Python).
Installation steps
Section titled “Installation steps”- Clone the repository
CreativeDynamics is hosted in a private Git repository. Obtain access through your organisation.
Recommended access methods:
- SSH access (your GitHub account key, or a deploy key managed by an administrator)
- An internal mirror or package index managed by your platform team
Do not embed credentials in Git remote URLs.
Clone (example using SSH):
git clone git@github.com:tandpds/CreativeDynamics.gitcd CreativeDynamics- Create and activate a virtual environment
python -m venv .venv
# Linux/macOS:source .venv/bin/activate# Windows (Command Prompt):# .\venv\Scripts\activate.bat# Windows (PowerShell):# .\venv\Scripts\Activate.ps1- Install dependencies
pip install --upgrade pippip install .Installs core dependencies defined in pyproject.toml.
Optional extras
Section titled “Optional extras”CreativeDynamics provides optional dependency groups for different use cases:
# With AI-generated narrative reports (requires OpenAI API key)pip install ".[ai]"
# Just testing dependenciespip install ".[test]"
# Just documentation dependenciespip install ".[docs]"
# For development (includes testing, docs, linting, and AI)pip install ".[dev]"Developer installation
Section titled “Developer installation”For contributors, complete the standard installation then:
- Install in editable mode with dev dependencies
pip install -e ".[dev]"- Set up pre-commit hooks
pre-commit install