Files
runtime/libs/sdk-python/project.json
zeekay 0eb1ba3198 fix: remove ALL remaining Daytona references
- Fixed all variable names in examples: daytona → runtime
- Updated owner/group from "daytona" to "hanzo"
- Changed bucket name to "hanzo-runtime-volume-builds"
- Updated all imports to use hanzo_runtime_api_client
- Fixed all docstring examples
- Removed every single Daytona reference from the codebase

The SDKs are now completely rebranded to Hanzo Runtime.
2025-07-14 21:27:33 -05:00

73 lines
2.0 KiB
JSON

{
"name": "sdk-python",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/sdk-python",
"targets": {
"docs": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"command": "npm run docs"
}
},
"generate-sync": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"command": "python scripts/sync_generator.py"
}
},
"add-api-clients": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"command": "./scripts/add-api-clients.sh"
},
"dependsOn": [
{
"target": "publish",
"projects": ["api-client-python", "api-client-python-async"]
}
]
},
"build": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["rm -rf dist", "./scripts/build-sdk.sh"],
"parallel": false
}
},
"build:_publish": {
"executor": "nx:run-commands",
"options": {
"command": "yarn nx run sdk-python:build"
},
"dependsOn": ["deps-check"]
},
"publish": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": [
"poetry publish --username __token__ --password $PYPI_TOKEN --no-interaction",
"sed -i 's/^name = \"[^\"]*\"/name = \"hanzo_runtime_sdk\"/' pyproject.toml",
"poetry publish --username __token__ --password $PYPI_TOKEN --no-interaction",
"sed -i 's/^name = \"[^\"]*\"/name = \"hanzo_runtime\"/' pyproject.toml"
],
"parallel": false
},
"dependsOn": ["build:_publish"]
},
"deps-check": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["poetry run deptry .", "poetry lock --regenerate"]
},
"dependsOn": ["add-api-clients"]
}
}
}