Skip to content

Commit 2f2884b

Browse files
committed
🥚 🎡 release 0.1.3
1 parent f486276 commit 2f2884b

File tree

4 files changed

+31
-11
lines changed

4 files changed

+31
-11
lines changed

.moban.cd/changelog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: moban
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Updated
6+
details:
7+
- handle unicode on python 2
8+
date: 12-Mar-2018
9+
version: 0.1.3
410
- changes:
511
- action: Added
612
details:

.moban.cd/moban.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ organisation: moremoban
33
author: C. W.
44
contact: wangc_2011@hotmail.com
55
license: MIT
6-
version: 0.1.2
7-
current_version: 0.1.2
8-
release: 0.1.2
6+
version: 0.1.3
7+
current_version: 0.1.3
8+
release: 0.1.3
99
branch: master
1010
command_line_interface: "moban"
1111
entry_point: "moban.main:main"

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Change log
22
================================================================================
33

4+
0.1.3 - 12-Mar-2018
5+
--------------------------------------------------------------------------------
6+
7+
Updated
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
#. handle unicode on python 2
11+
412
0.1.2 - 10-Jan-2018
513
--------------------------------------------------------------------------------
614

setup.py

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
NAME = 'moban'
1111
AUTHOR = 'C. W.'
12-
VERSION = '0.1.2'
12+
VERSION = '0.1.3'
1313
EMAIL = 'wangc_2011@hotmail.com'
1414
LICENSE = 'MIT'
1515
ENTRY_POINTS = {
@@ -21,8 +21,8 @@
2121
'Yet another jinja2 cli command for static text generation'
2222
)
2323
URL = 'https://github.com/moremoban/moban'
24-
DOWNLOAD_URL = '%s/archive/0.1.2.tar.gz' % URL
25-
FILES = ['README.rst', 'CHANGELOG.rst']
24+
DOWNLOAD_URL = '%s/archive/0.1.3.tar.gz' % URL
25+
FILES = ['README.rst', 'CHANGELOG.rst']
2626
KEYWORDS = [
2727
'jinja2',
2828
'moban',
@@ -48,6 +48,7 @@
4848
'jinja2>=2.7.1',
4949
'crayons',
5050
]
51+
SETUP_COMMANDS = {}
5152

5253

5354
PACKAGES = find_packages(exclude=['ez_setup', 'examples', 'tests'])
@@ -56,8 +57,8 @@
5657
# You do not need to read beyond this line
5758
PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format(
5859
sys.executable)
59-
GS_COMMAND = ('gs moban v0.1.2 ' +
60-
"Find 0.1.2 in changelog for more details")
60+
GS_COMMAND = ('gs moban v0.1.3 ' +
61+
"Find 0.1.3 in changelog for more details")
6162
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
6263
'Please install gease to enable it.')
6364
UPLOAD_FAILED_MSG = (
@@ -86,6 +87,8 @@ def run(self):
8687
try:
8788
self.status('Removing previous builds...')
8889
rmtree(os.path.join(HERE, 'dist'))
90+
rmtree(os.path.join(HERE, 'build'))
91+
rmtree(os.path.join(HERE, 'moban.egg-info'))
8992
except OSError:
9093
pass
9194

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

104107

108+
SETUP_COMMANDS.update({
109+
'publish': PublishCommand
110+
})
111+
112+
105113
def has_gease():
106114
"""
107115
test if github release command is installed
@@ -176,7 +184,5 @@ def filter_out_test_code(file_handle):
176184
zip_safe=False,
177185
entry_points=ENTRY_POINTS,
178186
classifiers=CLASSIFIERS,
179-
cmdclass={
180-
'publish': PublishCommand,
181-
}
187+
cmdclass=SETUP_COMMANDS
182188
)

0 commit comments

Comments
 (0)