pyecharts/install.py
陈键冬 1fcd9157da Components (#1127)
* Add: Table 类提供标题设置 新增 Image 类

* Format: code

* Update: page_title 设置为全局变量
2019-05-18 16:52:25 +01:00

15 lines
371 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-{}-py3-none-any.whl --no-cache-dir".format(
about["__version__"]
)
)