You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # python-ragflow
  2. # update python client
  3. - Update "version" field of [project] chapter
  4. - build new python SDK
  5. - upload to pypi.org
  6. - install new python SDK
  7. # build python SDK
  8. ```shell
  9. rm -f dist/* && python setup.py sdist bdist_wheel
  10. ```
  11. # install python SDK
  12. ```shell
  13. pip uninstall -y ragflow && pip install dist/*.whl
  14. ```
  15. This will install ragflow-sdk and its dependencies.
  16. # upload to pypi.org
  17. ```shell
  18. twine upload dist/*.whl
  19. ```
  20. Enter your pypi API token according to the prompt.
  21. Note that pypi allow a version of a package [be uploaded only once](https://pypi.org/help/#file-name-reuse). You need to change the `version` inside the `pyproject.toml` before build and upload.
  22. # using
  23. ```python
  24. ```
  25. # For developer
  26. ```shell
  27. pip install -e .
  28. ```