Skip to content

Commit

Permalink
🥚 0.0.2 , fix 🐛 and deliver ✨ let's fix pip compactibility issue: pye…
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Apr 26, 2018
1 parent 316158d commit 5325e44
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .moban.d/custom_setup.py.jj2
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
try:
from pyecharts_jupyter_installer import install_cmd_for
except ImportError:
import pip
import subprocess
import importlib

pip.main(['install', 'pyecharts-jupyter-installer'])
subprocess.check_call([sys.executable, '-m',
'pip', 'install', 'pyecharts-jupyter-installer'])
install_cmd_for = importlib.import_module(
'pyecharts_jupyter_installer').install_cmd_for
{% endblock %}
Expand Down
3 changes: 3 additions & 0 deletions .moban.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ targets:
- "echarts_china_provinces_pypkg/_version.py": "_version.py.jj2"
- .gitignore: gitignore.jj2
- .travis.yml: travis.yml.jj2
- output: CHANGELOG.rst
configuration: changelog.yml
template: CHANGELOG.rst.jj2
19 changes: 18 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
Change log
===========
================================================================================

0.0.2 - 26.04.2018
--------------------------------------------------------------------------------

Updated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. `pyecharts#492 <https://github.com/pyecharts/pyecharts/issues/492>`_: pip 10
compactibility problem

0.0.1 - 22.02.2018
--------------------------------------------------------------------------------

Added
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. first stable release
15 changes: 15 additions & 0 deletions changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: echarts-china-provinces-pypkg
organisation: pyecharts
releases:
- changes:
- action: Updated
details:
- "`pyecharts#492`: pip 10 compactibility problem"
date: 26.04.2018
version: 0.0.2
- changes:
- action: Added
details:
- first stable release
date: 22.02.2018
version: 0.0.1
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

project = u'echarts-china-provinces-pypkg'
copyright = u'2018 pyecharts dev team'
version = '0.0.1'
release = '0.0.1'
version = '0.0.2'
release = '0.0.2'
exclude_patterns = []
pygments_style = 'sphinx'
html_theme = 'default'
Expand Down
6 changes: 3 additions & 3 deletions echarts-china-provinces-pypkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ organisation: "chfw"
author: "C.W."
contact: "wangc_2011@hotmail.com"
company: "pyecharts dev team"
version: "0.0.1"
current_version: "0.0.1"
release: "0.0.1"
version: "0.0.2"
current_version: "0.0.2"
release: "0.0.2"
copyright_year: 2018
license: MIT
nowheel: true
Expand Down
2 changes: 1 addition & 1 deletion echarts_china_provinces_pypkg/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.0.1'
__version__ = '0.0.2'
__author__ = 'C.W.'
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,26 @@
try:
from pyecharts_jupyter_installer import install_cmd_for
except ImportError:
import pip
import subprocess
import importlib

pip.main(['install', 'pyecharts-jupyter-installer'])
subprocess.check_call([sys.executable, '-m',
'pip', 'install', 'pyecharts-jupyter-installer'])
install_cmd_for = importlib.import_module(
'pyecharts_jupyter_installer').install_cmd_for
PY2 = sys.version_info[0] == 2
PY26 = PY2 and sys.version_info[1] < 7

NAME = 'echarts-china-provinces-pypkg'
AUTHOR = 'C.W.'
VERSION = '0.0.1'
VERSION = '0.0.2'
EMAIL = 'wangc_2011@hotmail.com'
LICENSE = 'MIT'
DESCRIPTION = (
'Python package for chinese provinces for pyecharts'
)
URL = 'https://github.com/chfw/echarts-china-provinces-pypkg'
DOWNLOAD_URL = '%s/archive/0.0.1.tar.gz' % URL
DOWNLOAD_URL = '%s/archive/0.0.2.tar.gz' % URL
FILES = ['README.rst', 'CHANGELOG.rst']
KEYWORDS = [
'python'
Expand Down Expand Up @@ -59,8 +60,8 @@
# You do not need to read beyond this line
PUBLISH_COMMAND = '{0} setup.py sdist upload -r pypi'.format(
sys.executable)
GS_COMMAND = ('gs echarts-china-provinces-pypkg v0.0.1 ' +
"Find 0.0.1 in changelog for more details")
GS_COMMAND = ('gs echarts-china-provinces-pypkg v0.0.2 ' +
"Find 0.0.2 in changelog for more details")
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
'Please install gease to enable it.')
UPLOAD_FAILED_MSG = (
Expand Down

0 comments on commit 5325e44

Please sign in to comment.