Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
tehmaze committed Jun 7, 2016
1 parent 98d1f58 commit 7d62ab0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1'
version = '0.2'
# The full version, including alpha/beta/rc tags.
release = '0.1.7'
release = '0.2.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
12 changes: 6 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Demo:
>>> from natural import date, number, size
>>> import datetime
>>> date.compress(datetime.datetime(2012, 01, 01, 23, 42))
u'23w2d17h52m59s'
'23w2d17h52m59s'
>>> number.word(2300000)
u'2.3 million'
'2.3 million'
>>> size.filesize(102410241024)
u'95.377 GB'
'95.377 GB'


We speak :doc:`your language <locales>` too!
Expand All @@ -47,16 +47,16 @@ We speak :doc:`your language <locales>` too!
>>> locale.setlocale(locale.LC_ALL, 'de_DE')
>>> from natural import date
>>> date.duration(1337000000) # doctest: +SKIP
u'vor 4 Wochen'
'vor 4 Wochen'


Download
========

Downloads:

* `natural-0.1.5
<https://pypi.python.org/packages/source/n/natural/natural-0.1.5.tar.gz>`_
* `natural-0.2.0
<https://pypi.python.org/packages/source/n/natural/natural-0.2.0.tar.gz>`_

* `development tarball <https://github.com/tehmaze/natural/tarball/master>`_

Expand Down
4 changes: 2 additions & 2 deletions natural/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def hexdump(stream):

print('%08x %s %s |%s|' % (
row * 16,
' '.join(hextets[x:x + 2] for x in xrange(0x00, 0x10, 2)),
' '.join(hextets[x:x + 2] for x in xrange(0x10, 0x20, 2)),
' '.join(hextets[x:x + 2] for x in range(0x00, 0x10, 2)),
' '.join(hextets[x:x + 2] for x in range(0x10, 0x20, 2)),
canonical,
))
row += 1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from distutils.core import setup

setup(name='natural',
version='0.1.7',
version='0.2.0',
description='Convert data to their natural (human-readable) format',
long_description='''
Example Usage
Expand Down

0 comments on commit 7d62ab0

Please sign in to comment.