- Go to
/code_editor/frontenddirectory - Update the version in
package.json - Run
npm run buildto build the frontend - Go out to the root directory (the one that contains
setup.py) - Remove the old
dist,build, andstreamlit_code_editor.egg-infodirectories - Update the version in
setup.py - Run
python setup.py sdist bdist_wheelto generate new distribution files, build the project, and generate the wheel file - Run
twine upload dist/*to upload the new version to PyPI. You will be prompted to enter your PyPI credentials. a. The username is__token__b. The password is the token generated by PyPI. If one has already been generated for this project, it is likely stored in secrets or hidden .env files.