sparkles: replace jupyter-pip with pyecharts-cli.
@@ -4,13 +4,13 @@ import os
from setuptools import setup, find_packages
try:
- from jupyterpip import cmdclass
+ from pyecharts_cli import install_cmd_for
except ImportError:
import pip
import importlib
- pip.main(['install', 'jupyter-pip'])
- cmdclass = importlib.import_module('jupyterpip').cmdclass
+ pip.main(['install', 'pyecharts-cli'])
+ install_cmd_for = importlib.import_module('pyecharts_cli').install_cmd_for
__title__ = 'pyecharts'
@@ -22,14 +22,12 @@ __license__ = 'MIT'
__requires__ = ['pillow',
'jinja2',
'future',
- 'jupyter-pip>=0.3.1']
+ 'pyecharts-cli']
__keywords__ = ['Echarts',
'charts',
'plotting-tool']
-__jupyter_echarts__ = 'pyecharts/templates/js/echarts'
-
# Load the package's _version.py module as a dictionary.
here = os.path.abspath(os.path.dirname(__file__))
about = {}
@@ -49,7 +47,7 @@ setup(
install_requires=__requires__,
zip_safe=False,
include_package_data=True,
- cmdclass=cmdclass(__jupyter_echarts__, enable="echarts/main"),
+ cmdclass=install_cmd_for('jupyter-echarts'),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
