Skip to content
Snippets Groups Projects
Commit 2c612f59 authored by Haotian Liu's avatar Haotian Liu
Browse files

Add upload pypi scripts

parent c03b0543
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# Step 0: Clean up
rm -rf dist
# Step 1: Change the package name to "llava-torch"
sed -i 's/name = "llava"/name = "llava-torch"/' pyproject.toml
# Step 2: Build the package
python -m build
# Step 3: Revert the changes in pyproject.toml to the original
sed -i 's/name = "llava-torch"/name = "llava"/' pyproject.toml
# Step 4: Upload to PyPI
python -m twine upload dist/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment