diff --git a/.moban.cd/changelog.yml b/.moban.cd/changelog.yml index 2167db01..8207db85 100644 --- a/.moban.cd/changelog.yml +++ b/.moban.cd/changelog.yml @@ -1,6 +1,12 @@ name: moban organisation: moremoban releases: +- changes: + - action: Updated + details: + - handle unicode on python 2 + date: 12-Mar-2018 + version: 0.1.3 - changes: - action: Added details: diff --git a/.moban.cd/moban.yml b/.moban.cd/moban.yml index c18772d3..0b20721c 100644 --- a/.moban.cd/moban.yml +++ b/.moban.cd/moban.yml @@ -3,9 +3,9 @@ organisation: moremoban author: C. W. contact: wangc_2011@hotmail.com license: MIT -version: 0.1.2 -current_version: 0.1.2 -release: 0.1.2 +version: 0.1.3 +current_version: 0.1.3 +release: 0.1.3 branch: master command_line_interface: "moban" entry_point: "moban.main:main" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2e53fab1..45957304 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,14 @@ Change log ================================================================================ +0.1.3 - 12-Mar-2018 +-------------------------------------------------------------------------------- + +Updated +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#. handle unicode on python 2 + 0.1.2 - 10-Jan-2018 -------------------------------------------------------------------------------- diff --git a/setup.py b/setup.py index 888b2b61..620b7f40 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ NAME = 'moban' AUTHOR = 'C. W.' -VERSION = '0.1.2' +VERSION = '0.1.3' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'MIT' ENTRY_POINTS = { @@ -21,8 +21,8 @@ 'Yet another jinja2 cli command for static text generation' ) URL = 'https://github.com/moremoban/moban' -DOWNLOAD_URL = '%s/archive/0.1.2.tar.gz' % URL -FILES = ['README.rst', 'CHANGELOG.rst'] +DOWNLOAD_URL = '%s/archive/0.1.3.tar.gz' % URL +FILES = ['README.rst', 'CHANGELOG.rst'] KEYWORDS = [ 'jinja2', 'moban', @@ -48,6 +48,7 @@ 'jinja2>=2.7.1', 'crayons', ] +SETUP_COMMANDS = {} PACKAGES = find_packages(exclude=['ez_setup', 'examples', 'tests']) @@ -56,8 +57,8 @@ # 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 moban v0.1.2 ' + - "Find 0.1.2 in changelog for more details") +GS_COMMAND = ('gs moban v0.1.3 ' + + "Find 0.1.3 in changelog for more details") NO_GS_MESSAGE = ('Automatic github release is disabled. ' + 'Please install gease to enable it.') UPLOAD_FAILED_MSG = ( @@ -86,6 +87,8 @@ def run(self): try: self.status('Removing previous builds...') rmtree(os.path.join(HERE, 'dist')) + rmtree(os.path.join(HERE, 'build')) + rmtree(os.path.join(HERE, 'moban.egg-info')) except OSError: pass @@ -102,6 +105,11 @@ def run(self): sys.exit() +SETUP_COMMANDS.update({ + 'publish': PublishCommand +}) + + def has_gease(): """ test if github release command is installed @@ -176,7 +184,5 @@ def filter_out_test_code(file_handle): zip_safe=False, entry_points=ENTRY_POINTS, classifiers=CLASSIFIERS, - cmdclass={ - 'publish': PublishCommand, - } + cmdclass=SETUP_COMMANDS )