- Update "version" field of [project] chapter
- Build new python SDK
- Upload to pypi.org
- Install new python SDK
rm -f dist/* && python setup.py sdist bdist_wheel
pip uninstall -y ragflow && pip install dist/*.whl
This will install ragflow-sdk and its dependencies.
twine upload dist/*.whl
Enter your pypi API token according to the prompt.
Note that pypi allows a version of a package be uploaded only once. You need to change the version
inside the pyproject.toml
before building and uploading.
pip install -e .