- Go to
/code_editor/frontend
directory - Update the version in
package.json
- Run
npm run build
to build the frontend - Go out to the root directory (the one that contains
setup.py
) - Remove the old
dist
,build
, andstreamlit_code_editor.egg-info
directories - Update the version in
setup.py
- Run
python setup.py sdist bdist_wheel
to 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.