Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 805 Bytes

PUBLISHING.md

File metadata and controls

12 lines (11 loc) · 805 Bytes

Publishing instructions for author and collaborators

  1. Go to /code_editor/frontend directory
  2. Update the version in package.json
  3. Run npm run build to build the frontend
  4. Go out to the root directory (the one that contains setup.py)
  5. Remove the old dist, build, and streamlit_code_editor.egg-info directories
  6. Update the version in setup.py
  7. Run python setup.py sdist bdist_wheel to generate new distribution files, build the project, and generate the wheel file
  8. 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.