mirror of
https://github.com/pyecharts/pyecharts.git
synced 2025-12-08 20:59:23 +00:00
15 lines
375 B
Python
15 lines
375 B
Python
import os
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
about = {}
|
|
with open(os.path.join(here, "pyecharts", "_version.py")) as f:
|
|
exec(f.read(), about)
|
|
|
|
os.system("python setup.py bdist_wheel")
|
|
os.system("pip uninstall pyecharts -y")
|
|
os.system(
|
|
"pip install -U dist/pyecharts-{}-py2.py3-none-any.whl --no-cache-dir".format(
|
|
about["__version__"]
|
|
)
|
|
)
|