Skip to content

Commit

Permalink
fix: web app error
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Jan 2, 2024
1 parent 146d3c2 commit e1b8b21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ def read(*names, **kwargs):

setup(
name="streamlit-g2",
version="0.1.0",
version="0.1.1",
author="hustcc",
author_email="i@hust.cc",
description="Render G2 charts in Streamlit",
long_description=read('readme.md'),
long_description_content_type="text/plain",
long_description_content_type="text/markdown",
keywords=["antv", "g2", "streamlit-component", "streamlit-g2"],
url="https://github.com/hustcc/streamlit-g2",
packages=find_packages(),
Expand Down
4 changes: 2 additions & 2 deletions streamlit_g2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os
import streamlit.components.v1 as components
from spec import JS, json_dump_options
from streamlit_g2.spec import JS, json_dump_options

# Create a _RELEASE constant. We'll set this to False while we're developing
# the component, and True when we're ready to package and distribute it.
# (This is, of course, optional - there are innumerable ways to manage your
# release process.)
# Set _RELEASE = False to debug.
_RELEASE = False
_RELEASE = True

# Declare a Streamlit component. `declare_component` returns a function
# that is used to create instances of the component. We're naming this
Expand Down
1 change: 1 addition & 0 deletions streamlit_g2/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import re
import simplejson
import pandas as pd

# no JSON.stringigy in Python
SEP = "!!-_-____-_-!!"

Expand Down

0 comments on commit e1b8b21

Please sign in to comment.