Skip to content

Commit

Permalink
Version 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kz26 committed Nov 3, 2016
1 parent c913298 commit a991b44
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bin/dottorrent_cli
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ if __name__ == '__main__':
)
t_info = t.get_info()
print("Files: {}".format(t_info[1]))
print("Total size: {}".format(format_size(t_info[0])))
print("Piece size: {}".format(format_size(t_info[2])))
print("Total size: {}".format(format_size(t_info[0], binary=True)))
print("Piece size: {}".format(format_size(t_info[2], binary=True)))
print("Pieces: {}".format(t_info[3]))
print("MD5 hashing: {}".format(args.md5))
for x in t.trackers:
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

1.5.2
-----
* Use humanfriendly.format_size in binary mode
* Pin major versions of dependencies in requirements.txt and setup.py

1.5.1
-----
* Fix filename clobbering when filename contains parent path string (issue #2)
Expand Down
2 changes: 1 addition & 1 deletion dottorrent/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.5.1'
__version__ = '1.5.2'
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bencoder.pyx>=1.1.1
humanfriendly
tqdm>=4.8.4
bencoder.pyx>=1.1.1,<2.0.0
humanfriendly>=2.1,<3.0
tqdm>=4.8.4,<5.0.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['bencoder.pyx>=1.1.1', 'humanfriendly', 'tqdm>=4.8.4'],
install_requires=['bencoder.pyx>=1.1.1,<2.0.0', 'humanfriendly>=2.1,<3.0', 'tqdm>=4.8.4,<5.0.0'],

# metadata for upload to PyPI
author="Kevin Zhang",
Expand Down

0 comments on commit a991b44

Please sign in to comment.