b3d581d21a
- Python CLI tool to report token usage and estimated USD cost - Supports Mistral Vibe harness with pluggable adapter interface - Includes SKILL.md in skill/ directory for LLM consumption via --skill flag - Full test suite (28 tests) - Typical Python project structure with .gitignore, .gitattributes, LICENSE, README.md - Build script for PyPI distribution Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
20 lines
532 B
Bash
Executable File
20 lines
532 B
Bash
Executable File
#!/bin/bash
|
|
# Build script for agent-cost-estimator project
|
|
# Creates source and wheel distributions
|
|
|
|
set -e
|
|
|
|
# Check if build module is available, install if not
|
|
if ! python -m build --version >/dev/null 2>&1; then
|
|
echo "Installing build package..."
|
|
python -m pip install build --break-system-packages
|
|
fi
|
|
|
|
# Build the distribution files
|
|
rm -rf dist/ build/ agent_cost_estimator.egg-info/
|
|
|
|
python -m build
|
|
|
|
echo "Build completed. Distribution files are in the dist/ directory."
|
|
echo "To upload to PyPI: twine upload dist/*"
|