From 9af43e13c4b9004d553c35dad15f813ce0bed489 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 14:29:59 +0100 Subject: [PATCH 01/10] :handshake: sync with mobans --- README.rst | 8 ++++---- setup.py | 29 ++++++++++++++++++----------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index 98574e9..437dc8e 100644 --- a/README.rst +++ b/README.rst @@ -2,11 +2,12 @@ lml - Load me later. A lazy loading plugin management system. ================================================================================ -.. image:: https://api.travis-ci.org/chfw/lml.svg?branch=master +.. image:: https://api.travis-ci.org/chfw/lml.svg :target: http://travis-ci.org/chfw/lml -.. image:: https://codecov.io/gh/chfw/lml/branch/master/graph/badge.svg - :target: https://codecov.io/gh/chfw/lml +.. image:: https://codecov.io/github/chfw/lml/coverage.png + :target: https://codecov.io/github/chfw/lml + .. image:: https://readthedocs.org/projects/lml/badge/?version=latest :target: http://lml.readthedocs.org/en/latest/ @@ -54,4 +55,3 @@ License ================================================================================ New BSD - diff --git a/setup.py b/setup.py index 827d8a9..832c5e1 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ -# Template by setupmobans +#!/usr/bin/env python3 + +# Template by pypi-mobans import os import sys import codecs @@ -13,19 +15,16 @@ VERSION = '0.0.2' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( - 'Load me later. A lazy loading plugin management system.' + - '' + 'Load me later. A lazy loading plugin management system.' ) URL = 'https://github.com/chfw/lml' DOWNLOAD_URL = '%s/archive/0.0.2.tar.gz' % URL -FILES = ['README.rst', 'CHANGELOG.rst'] +FILES = ['README.rst', 'CHANGELOG.rst'] KEYWORDS = [ 'python' ] CLASSIFIERS = [ - 'Topic :: Office/Business', - 'Topic :: Utilities', 'Topic :: Software Development :: Libraries', 'Programming Language :: Python', 'Intended Audience :: Developers', @@ -39,6 +38,7 @@ CLASSIFIERS = [ INSTALL_REQUIRES = [ ] +SETUP_COMMANDS = {} PACKAGES = find_packages(exclude=['ez_setup', 'examples', 'tests']) @@ -50,7 +50,8 @@ GS_COMMAND = ('gs lml 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 = ('Upload failed. please run "%s" yourself.') +UPLOAD_FAILED_MSG = ( + 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND) HERE = os.path.abspath(os.path.dirname(__file__)) @@ -75,6 +76,8 @@ class PublishCommand(Command): try: self.status('Removing previous builds...') rmtree(os.path.join(HERE, 'dist')) + rmtree(os.path.join(HERE, 'build')) + rmtree(os.path.join(HERE, 'lml.egg-info')) except OSError: pass @@ -91,6 +94,11 @@ class PublishCommand(Command): sys.exit() +SETUP_COMMANDS.update({ + 'publish': PublishCommand +}) + + def has_gease(): """ test if github release command is installed @@ -115,7 +123,8 @@ def read_files(*files): def read(afile): """Read a file into setup""" - with codecs.open(afile, 'r', 'utf-8') as opened_file: + the_relative_file = os.path.join(HERE, afile) + with codecs.open(the_relative_file, 'r', 'utf-8') as opened_file: content = filter_out_test_code(opened_file) content = "".join(list(content)) return content @@ -164,7 +173,5 @@ if __name__ == '__main__': include_package_data=True, zip_safe=False, classifiers=CLASSIFIERS, - cmdclass={ - 'publish': PublishCommand, - } + cmdclass=SETUP_COMMANDS ) From 9b53946772f5d6989ebaeab1d3206cfadaadd676 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 14:37:33 +0100 Subject: [PATCH 02/10] :sparkles: adding __version__, fix #2 --- .moban.yml | 1 + lml/__init__.py | 2 ++ lml/_version.py | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 lml/_version.py diff --git a/.moban.yml b/.moban.yml index 2c05c21..a24a7c6 100644 --- a/.moban.yml +++ b/.moban.yml @@ -11,3 +11,4 @@ targets: - "docs/source/conf.py": "docs/source/myconf.py.jj2" - "docs/source/index.rst": "docs/source/index.rst.jj2" - test.sh: test.sh.jj2 + - "lml/_version.py": _version.py.jj2 diff --git a/lml/__init__.py b/lml/__init__.py index 5550684..fd36b23 100644 --- a/lml/__init__.py +++ b/lml/__init__.py @@ -8,6 +8,8 @@ :license: New BSD License, see LICENSE for more details """ import logging +from lml._version import __version__ +from lml._version import __author__ try: from logging import NullHandler diff --git a/lml/_version.py b/lml/_version.py new file mode 100644 index 0000000..ca9f201 --- /dev/null +++ b/lml/_version.py @@ -0,0 +1,2 @@ +__version__ = '0.0.2' +__author__ = 'C.W.' From 48d55521752c745f32b551b19ce9fdbcbf3b40ae Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 22:47:57 +0100 Subject: [PATCH 03/10] :shirt: coding style fix --- lml/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lml/__init__.py b/lml/__init__.py index fd36b23..820540d 100644 --- a/lml/__init__.py +++ b/lml/__init__.py @@ -8,8 +8,8 @@ :license: New BSD License, see LICENSE for more details """ import logging -from lml._version import __version__ -from lml._version import __author__ +from lml._version import __version__ # flake8: noqa +from lml._version import __author__ # flake8: noqa try: from logging import NullHandler From b7245d0976536adde93204f03f0297b09d1e5608 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:00:57 +0100 Subject: [PATCH 04/10] :sparkles: given a plugin can have many tags, it is hard for plugin manager to tell if two tags point to the same plugin or not. get_primary_key helps. if there are multiple plugins for the same tag, this feature does not help. In short, get_primary_key tells your tag point to a list of plugins with similarities --- lml/plugin.py | 11 ++++++++++- tests/test_plugin_manager.py | 11 +++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/lml/plugin.py b/lml/plugin.py index 8aeb35f..35e26ed 100644 --- a/lml/plugin.py +++ b/lml/plugin.py @@ -204,6 +204,7 @@ class PluginManager(object): def __init__(self, plugin_type): self.plugin_name = plugin_type self.registry = defaultdict(list) + self.tag_groups = dict() self._logger = logging.getLogger( self.__class__.__module__ + '.' + self.__class__.__name__) _register_class(self) @@ -317,9 +318,17 @@ class PluginManager(object): a instance of plugin info """ self._logger.debug("register " + plugin_cls.__name__) - for key in plugin_info.tags(): + primary_tag = None + for index, key in enumerate(plugin_info.tags()): plugin_info.cls = plugin_cls self.registry[key.lower()].append(plugin_info) + if index == 0: + primary_tag = key.lower() + self.tag_groups[key.lower()] = primary_tag + + def get_primary_key(self, key): + __key = key.lower() + return self.tag_groups.get(__key, None) def _register_class(cls): diff --git a/tests/test_plugin_manager.py b/tests/test_plugin_manager.py index 723d74f..33782a7 100644 --- a/tests/test_plugin_manager.py +++ b/tests/test_plugin_manager.py @@ -140,5 +140,16 @@ def test_register_a_plugin_function_2(): assert non_existent_plugin in CACHED_PLUGIN_INFO +def test_primary_key(): + manager = PluginManager("test plugin2") + + @PluginInfo('test plugin2', tags=['primary key', 'key 1', 'key 2']) + class MyPlugin(object): + pass + + pk = manager.get_primary_key('key 1') + eq_(pk, 'primary key') + + def make_me_a_plugin_info(plugin_name): return PluginInfo(plugin_name, 'abs_path', custom='property') From 619a64cd6963f5fdc5caa04adae3ce08d035f18f Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:19:42 +0100 Subject: [PATCH 05/10] :sparkles: law changes: dict is allowed to be plugin payload. functions, classes were allowed before but not dict. this change helps. --- lml/plugin.py | 27 ++++++++++++++++++++------- tests/test_plugin_manager.py | 24 +++++++++++++++++++++++- 2 files changed, 43 insertions(+), 8 deletions(-) diff --git a/lml/plugin.py b/lml/plugin.py index 35e26ed..132db4a 100644 --- a/lml/plugin.py +++ b/lml/plugin.py @@ -274,7 +274,7 @@ class PluginManager(object): if __key in self.registry: for plugin_info in self.registry[__key]: cls = self.dynamic_load_library(plugin_info) - module_name = _get_me_pypi_package_name(cls.__module__) + module_name = _get_me_pypi_package_name(cls) if library and module_name != library: continue else: @@ -317,7 +317,8 @@ class PluginManager(object): plugin_info: a instance of plugin info """ - self._logger.debug("register " + plugin_cls.__name__) + self._logger.debug("register %s", + _show_me_your_name(plugin_cls)) primary_tag = None for index, key in enumerate(plugin_info.tags()): plugin_info.cls = plugin_cls @@ -344,7 +345,7 @@ def _register_class(cls): plugin_info.absolute_import_path) else: log.debug("load cached plugin info: %s", - plugin_info.cls.__name__) + _show_me_your_name(plugin_info.cls)) cls.load_me_later(plugin_info) del CACHED_PLUGIN_INFO[cls.plugin_name] @@ -357,7 +358,8 @@ def _register_a_plugin(plugin_info, plugin_cls): manager.register_a_plugin(plugin_cls, plugin_info) else: # let's cache it and wait the manager to be registered - log.debug("caching %s", plugin_cls.__name__) + log.debug("caching %s", + _show_me_your_name(plugin_cls.__name__)) CACHED_PLUGIN_INFO[plugin_info.plugin_type].append(plugin_info) @@ -374,6 +376,17 @@ def _load_me_later(plugin_info): CACHED_PLUGIN_INFO[plugin_info.plugin_type].append(plugin_info) -def _get_me_pypi_package_name(module_name): - root_module_name = module_name.split('.')[0] - return root_module_name.replace('_', '-') +def _get_me_pypi_package_name(module): + try: + module_name = module.__module__ + root_module_name = module_name.split('.')[0] + return root_module_name.replace('_', '-') + except AttributeError: + return None + + +def _show_me_your_name(cls_func_or_data_type): + try: + return cls_func_or_data_type.__name__ + except AttributeError: + return str(type(cls_func_or_data_type)) diff --git a/tests/test_plugin_manager.py b/tests/test_plugin_manager.py index 33782a7..2ef9c76 100644 --- a/tests/test_plugin_manager.py +++ b/tests/test_plugin_manager.py @@ -1,6 +1,6 @@ from mock import patch from lml.plugin import PluginManager, PLUG_IN_MANAGERS -from lml.plugin import PluginInfo +from lml.plugin import PluginInfo, _show_me_your_name from lml.plugin import CACHED_PLUGIN_INFO from nose.tools import eq_, raises @@ -151,5 +151,27 @@ def test_primary_key(): eq_(pk, 'primary key') +def test_dict_as_plugin_payload(): + manager = PluginManager("test plugin3") + + plugin = PluginInfo('test plugin3', tags=['primary key', 'key 1', 'key 2']) + plugin(dict(B=1)) + + instance = manager.load_me_now('key 1') + eq_(instance, dict(B=1)) + + +def test_show_me_your_name(): + + class Test(object): + pass + + name = _show_me_your_name(Test) + eq_(name, 'Test') + + name2 = _show_me_your_name(dict(A=1)) + eq_(name2, "") + + def make_me_a_plugin_info(plugin_name): return PluginInfo(plugin_name, 'abs_path', custom='property') From bc7ad7d46de7fca141d867c349d8290003f51f13 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:26:34 +0100 Subject: [PATCH 06/10] :books: pump versions --- .moban.yml | 3 +++ CHANGELOG.rst | 24 ++++++++++++++++++++---- changelog.yml | 22 ++++++++++++++++++++++ docs/source/conf.py | 2 +- lml.yml | 4 ++-- lml/_version.py | 2 +- setup.py | 2 +- 7 files changed, 50 insertions(+), 9 deletions(-) create mode 100644 changelog.yml diff --git a/.moban.yml b/.moban.yml index a24a7c6..216b88e 100644 --- a/.moban.yml +++ b/.moban.yml @@ -12,3 +12,6 @@ targets: - "docs/source/index.rst": "docs/source/index.rst.jj2" - test.sh: test.sh.jj2 - "lml/_version.py": _version.py.jj2 + - output: CHANGELOG.rst + configuration: changelog.yml + template: CHANGELOG.rst.jj2 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a060cff..c42b54c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,13 +1,29 @@ Change log -=========== +================================================================================ -0.0.2 - 23.10.2017 +0.0.3 - unreleased -------------------------------------------------------------------------------- -#. pyexcel `#103 `_, include +Added +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#. `dict` can be a pluggable type in addition to `function`, `class` +#. get primary tag of your tag, helping you find out which category of plugins + your tag points to + +0.0.2 - 23/10/2017 +-------------------------------------------------------------------------------- + +Updated +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#. `pyexcel#103 `_: include LICENSE in tar ball 0.0.1 - 30/05/2017 -------------------------------------------------------------------------------- -first release +Added +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#. First release diff --git a/changelog.yml b/changelog.yml new file mode 100644 index 0000000..9be9efc --- /dev/null +++ b/changelog.yml @@ -0,0 +1,22 @@ +name: jupyter-echarts-pypkg +organisation: pyecharts +releases: +- changes: + - action: Added + details: + - "`dict` can be a pluggable type in addition to `function`, `class`" + - get primary tag of your tag, helping you find out which category of plugins your tag points to + date: unreleased + version: 0.0.3 +- changes: + - action: Updated + details: + - "`pyexcel#103`: include LICENSE in tar ball" + date: 23/10/2017 + version: 0.0.2 +- changes: + - action: Added + details: + - First release + date: 30/05/2017 + version: 0.0.1 diff --git a/docs/source/conf.py b/docs/source/conf.py index e54a1f4..62d2c80 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ master_doc = 'index' project = u'lml' copyright = u'2017 Onni Software Ltd.' version = '0.0.2' -release = '0.0.2' +release = '0.0.3' exclude_patterns = [] pygments_style = 'sphinx' html_theme = 'default' diff --git a/lml.yml b/lml.yml index a1c961e..b948f30 100644 --- a/lml.yml +++ b/lml.yml @@ -4,8 +4,8 @@ organisation: "chfw" author: "C.W." contact: "wangc_2011@hotmail.com" company: "Onni Software Ltd." -version: "0.0.2" -current_version: "0.0.2" +version: "0.0.3" +current_version: "0.0.3" release: "0.0.2" copyright_year: 2017 license: New BSD diff --git a/lml/_version.py b/lml/_version.py index ca9f201..f4af5d3 100644 --- a/lml/_version.py +++ b/lml/_version.py @@ -1,2 +1,2 @@ -__version__ = '0.0.2' +__version__ = '0.0.3' __author__ = 'C.W.' diff --git a/setup.py b/setup.py index 832c5e1..63c828d 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ PY26 = PY2 and sys.version_info[1] < 7 NAME = 'lml' AUTHOR = 'C.W.' -VERSION = '0.0.2' +VERSION = '0.0.3' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( From 2a9911fde9bd1464e71dc82d07d4611d889e8ca6 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:27:22 +0100 Subject: [PATCH 07/10] :green_heart: make unit test pass --- tests/test_plugin_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin_manager.py b/tests/test_plugin_manager.py index 2ef9c76..a49d2fa 100644 --- a/tests/test_plugin_manager.py +++ b/tests/test_plugin_manager.py @@ -170,7 +170,7 @@ def test_show_me_your_name(): eq_(name, 'Test') name2 = _show_me_your_name(dict(A=1)) - eq_(name2, "") + assert 'dict' in name2 def make_me_a_plugin_info(plugin_name): From c07b353511b6a1a359eac3d7a3d610136381b295 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:28:41 +0100 Subject: [PATCH 08/10] :books: update project description --- README.rst | 2 +- docs/source/conf.py | 2 +- docs/source/index.rst | 2 +- lml.yml | 4 ++-- setup.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 437dc8e..665349a 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ ================================================================================ -lml - Load me later. A lazy loading plugin management system. +lml - Load me later. A lazy plugin management system. ================================================================================ .. image:: https://api.travis-ci.org/chfw/lml.svg diff --git a/docs/source/conf.py b/docs/source/conf.py index 62d2c80..ec0cffd 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- DESCRIPTION = ( - 'Load me later. A lazy loading plugin management system.' + + 'Load me later. A loading plugin management system.' + '' ) extensions = [ diff --git a/docs/source/index.rst b/docs/source/index.rst index 86daf7f..616adf0 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,4 +1,4 @@ -`lml` - Load me later. A lazy loading plugin management system. +`lml` - Load me later. A loading plugin management system. ================================================================================ diff --git a/lml.yml b/lml.yml index b948f30..17b69a0 100644 --- a/lml.yml +++ b/lml.yml @@ -1,5 +1,5 @@ name: "lml" -full_name: "Load me later. A lazy loading plugin management system." +full_name: "Load me later. A lazy plugin management system." organisation: "chfw" author: "C.W." contact: "wangc_2011@hotmail.com" @@ -10,4 +10,4 @@ release: "0.0.2" copyright_year: 2017 license: New BSD dependencies: [] -description: "Load me later. A lazy loading plugin management system." \ No newline at end of file +description: "Load me later. A loading plugin management system." \ No newline at end of file diff --git a/setup.py b/setup.py index 63c828d..dde0d1f 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ VERSION = '0.0.3' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( - 'Load me later. A lazy loading plugin management system.' + 'Load me later. A loading plugin management system.' ) URL = 'https://github.com/chfw/lml' DOWNLOAD_URL = '%s/archive/0.0.2.tar.gz' % URL From 6411f74abcabd63280b00d260fb6fe91b012bd43 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:52:10 +0100 Subject: [PATCH 09/10] :egg: :ferris_wheel: release 0.0.3 --- CHANGELOG.rst | 2 +- changelog.yml | 2 +- docs/source/conf.py | 4 ++-- lml.yml | 4 ++-- lml/__init__.py | 2 +- lml/loader.py | 2 +- lml/plugin.py | 2 +- lml/utils.py | 2 +- setup.py | 6 +++--- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c42b54c..44bba01 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,7 +1,7 @@ Change log ================================================================================ -0.0.3 - unreleased +0.0.3 - 12/06/2018 -------------------------------------------------------------------------------- Added diff --git a/changelog.yml b/changelog.yml index 9be9efc..54ec238 100644 --- a/changelog.yml +++ b/changelog.yml @@ -6,7 +6,7 @@ releases: details: - "`dict` can be a pluggable type in addition to `function`, `class`" - get primary tag of your tag, helping you find out which category of plugins your tag points to - date: unreleased + date: 12/06/2018 version: 0.0.3 - changes: - action: Updated diff --git a/docs/source/conf.py b/docs/source/conf.py index ec0cffd..bb41cb7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,8 +17,8 @@ source_suffix = '.rst' master_doc = 'index' project = u'lml' -copyright = u'2017 Onni Software Ltd.' -version = '0.0.2' +copyright = u'2017-2018 Onni Software Ltd.' +version = '0.0.3' release = '0.0.3' exclude_patterns = [] pygments_style = 'sphinx' diff --git a/lml.yml b/lml.yml index 17b69a0..97f5318 100644 --- a/lml.yml +++ b/lml.yml @@ -6,8 +6,8 @@ contact: "wangc_2011@hotmail.com" company: "Onni Software Ltd." version: "0.0.3" current_version: "0.0.3" -release: "0.0.2" -copyright_year: 2017 +release: "0.0.3" +copyright_year: 2017-2018 license: New BSD dependencies: [] description: "Load me later. A loading plugin management system." \ No newline at end of file diff --git a/lml/__init__.py b/lml/__init__.py index 820540d..602898d 100644 --- a/lml/__init__.py +++ b/lml/__init__.py @@ -4,7 +4,7 @@ Load me later. A lazy loading plugin management system. - :copyright: (c) 2017 by Onni Software Ltd. + :copyright: (c) 2017-2018 by Onni Software Ltd. :license: New BSD License, see LICENSE for more details """ import logging diff --git a/lml/loader.py b/lml/loader.py index 6177571..f5840f4 100644 --- a/lml/loader.py +++ b/lml/loader.py @@ -6,7 +6,7 @@ and pyinstaller. :func:`~lml.loader.scan_plugins` is expected to be called in the main package of yours at an earliest time of convenience. - :copyright: (c) 2017 by Onni Software Ltd. + :copyright: (c) 2017-2018 by Onni Software Ltd. :license: New BSD License, see LICENSE for more details """ import pkgutil diff --git a/lml/plugin.py b/lml/plugin.py index 132db4a..dc8835c 100644 --- a/lml/plugin.py +++ b/lml/plugin.py @@ -22,7 +22,7 @@ can be overridden to help its matching :class:`~lml.plugin.PluginManager` to look itself up. - :copyright: (c) 2017 by Onni Software Ltd. + :copyright: (c) 2017-2018 by Onni Software Ltd. :license: New BSD License, see LICENSE for more details """ import logging diff --git a/lml/utils.py b/lml/utils.py index e6d178e..31caadd 100644 --- a/lml/utils.py +++ b/lml/utils.py @@ -4,7 +4,7 @@ json utils for dump plugin info class - :copyright: (c) 2017 by Onni Software Ltd. + :copyright: (c) 2017-2018 by Onni Software Ltd. :license: New BSD License, see LICENSE for more details """ import sys diff --git a/setup.py b/setup.py index dde0d1f..43c7d14 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ DESCRIPTION = ( 'Load me later. A loading plugin management system.' ) URL = 'https://github.com/chfw/lml' -DOWNLOAD_URL = '%s/archive/0.0.2.tar.gz' % URL +DOWNLOAD_URL = '%s/archive/0.0.3.tar.gz' % URL FILES = ['README.rst', 'CHANGELOG.rst'] KEYWORDS = [ 'python' @@ -46,8 +46,8 @@ EXTRAS_REQUIRE = {} # You do not need to read beyond this line PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format( sys.executable) -GS_COMMAND = ('gs lml v0.0.2 ' + - "Find 0.0.2 in changelog for more details") +GS_COMMAND = ('gs lml v0.0.3 ' + + "Find 0.0.3 in changelog for more details") NO_GS_MESSAGE = ('Automatic github release is disabled. ' + 'Please install gease to enable it.') UPLOAD_FAILED_MSG = ( From 90fd0a5cae3026845a10ffc9ad901eb0625cab57 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 12 Jun 2018 23:55:55 +0100 Subject: [PATCH 10/10] :art: update change log --- CHANGELOG.rst | 2 +- changelog.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 44bba01..4bdc70f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,7 +17,7 @@ Added Updated ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -#. `pyexcel#103 `_: include +#. `pyexcel#103 `_: include LICENSE in tar ball 0.0.1 - 30/05/2017 diff --git a/changelog.yml b/changelog.yml index 54ec238..0d1b8ec 100644 --- a/changelog.yml +++ b/changelog.yml @@ -1,5 +1,5 @@ -name: jupyter-echarts-pypkg -organisation: pyecharts +name: lml +organisation: chfw releases: - changes: - action: Added @@ -11,7 +11,7 @@ releases: - changes: - action: Updated details: - - "`pyexcel#103`: include LICENSE in tar ball" + - "`pyexcel#103 `_: include LICENSE in tar ball" date: 23/10/2017 version: 0.0.2 - changes: