Edit setup.py, adding your component's name and other relevant info
Create a release build of your frontend code. This will add a new directory, frontend/build/, with your compiled frontend in it:
shell
   $ cd frontend
   $ npm run build
Pass the build folder's path as the path parameter to declare_component. (If you're using the template Python file, you can set _RELEASE = True at the top of the file):
```python
      import streamlit.components.v1 as components
  # Change this:
  # component = components.declare_component("my_component", url="http://localhost:3001")
  # To this:
  parent_dir = os.path.dirname(os.path.abspath(__file__))
  build_dir = os.path.join(parent_dir, "frontend/build")
  component = components.declare_component("new_component_name", path=build_dir)
```
Build a Python wheel
