Skip to content
tk42 edited this page Sep 2, 2022 · 4 revisions

Welcome to the streamlit-excel-table wiki!

Publishing

Make sure that _RELEASE = True in __init__.py.

See following procedures. For more details in Publish a Component

  • check or update the version of setup.py and st_excel_table/frontend/package.json

  • build frontend

cd st_excel_table/frontend/
yarn build
  • Run this from your component's top-level directory; that is, the directory that contains setup.py
python3 setup.py sdist bdist_wheel
  • upload TestPyPI for debugging
python3 -m twine upload --repository testpypi dist/*
  • download the test packaging from TestPyPI
pip install --index-url https://test.pypi.org/simple/ streamlit-excel-table
  • If the component has no problem, upload the package to PyPI
python3 -m twine upload --repository pypi dist/*
Clone this wiki locally