Metadata-Version: 2.4
Name: dccpath
Version: 0.2.0
Summary: Utility library for locating common DCC (Digital Content Creation) software executables
Project-URL: Repository, https://git.hwanimation.tech/hwanimationtech/dccpath
Author-email: Henrik Wilhelmsen <henrik@hwanimation.tech>
Maintainer-email: Henrik Wilhelmsen <henrik@hwanimation.tech>
License-Expression: MPL-2.0
License-File: LICENSE
Keywords: Blender,DCC,Maya,MotionBuilder
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# DCC Path

Small utility library for locating common DCC (Digital Content Creation) software executables

Currently supported DCCs:

- Autodesk Maya
- Autodesk MotionBuilder
- Blender

```python
from dccpath import get_blender, DCCPathError

try:
    blender = get_blender(version="5.2")
    print(blender)
except DCCPathError as e:
    print(f"Failed to get Blender executable: {e}")
```

## Development

This project uses uv for development, to initialize the project and sync all dependencies run:

```sh
uv sync --dev
```

### Testing on Any Machine with UV

Substitute `@main` with any branch in development, and the `get_maya(<version>)` function with any DCC and version.

```shell
uv run --with "dccpath @ git+https://git.hwanimation.tech/hwanimationtech/dcc-tools/dccpath@main" python -c "from dccpath import get_maya; print(get_maya('2026'))"
```
