18 lines
475 B
Bash
Executable File
18 lines
475 B
Bash
Executable File
#!/bin/bash
|
|
# Build script for Fiona-Assistant 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
|
|
python -m build
|
|
|
|
echo "Build completed. Distribution files are in the dist/ directory."
|
|
echo "To upload to PyPI: twine upload dist/*"
|