Skip to content

Commit

Permalink
🥚 🎡 release 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Mar 12, 2018
1 parent f486276 commit 2f2884b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .moban.cd/changelog.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .moban.cd/moban.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Change log
================================================================================

0.1.3 - 12-Mar-2018
--------------------------------------------------------------------------------

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

#. handle unicode on python 2

0.1.2 - 10-Jan-2018
--------------------------------------------------------------------------------

Expand Down
22 changes: 14 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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',
Expand All @@ -48,6 +48,7 @@
'jinja2>=2.7.1',
'crayons',
]
SETUP_COMMANDS = {}


PACKAGES = find_packages(exclude=['ez_setup', 'examples', 'tests'])
Expand All @@ -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 = (
Expand Down Expand Up @@ -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

Expand All @@ -102,6 +105,11 @@ def run(self):
sys.exit()


SETUP_COMMANDS.update({
'publish': PublishCommand
})


def has_gease():
"""
test if github release command is installed
Expand Down Expand Up @@ -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
)

0 comments on commit 2f2884b

Please sign in to comment.