Skip to content

Commit e6eb051

Browse files
committed
Merge branch 'release/v1.0.1'
2 parents 338198c + 16bb70b commit e6eb051

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Some of the features:
1414
* you can add a **comment** to the torrent file
1515
* you can create **private torrents** (disabled DHT, ...)
1616
* you can create torrents with **multiple trackers**
17-
* you can create **trackerless torrents** (not yet released, but already implemented in develop branch)
17+
* you can create **trackerless torrents**
1818
* you can add **webseeds** to torrents
1919
* you can **exclude specific files/folders**
2020
* you can exclude files/folders based on **regular expressions**

docs/source/changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
Version 1.0.1
5+
-------------
6+
7+
*Release date: 2022/01/05*
8+
9+
* fixed: Faulty torrent name and 'name' field when using relative path '.', see `#11 <https://github.com/rsnitsch/py3createtorrent/issues/11>`_
10+
411
Version 1.0.0
512
-------------
613

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
# General information about the project.
4343
project = u'py3createtorrent'
44-
copyright = u'2013-2021, Robert Nitsch'
44+
copyright = u'2013-2022, Robert Nitsch'
4545

4646
# The version info for the project you're documenting, acts as replacement for
4747
# |version| and |release|, also used in various other places throughout the
@@ -50,7 +50,7 @@
5050
# The short X.Y version.
5151
version = '1.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '1.0.0'
53+
release = '1.0.1'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ def get_version(rel_path):
4747
'Programming Language :: Python :: 3.6',
4848
'Programming Language :: Python :: 3.7',
4949
'Programming Language :: Python :: 3.8',
50+
'Programming Language :: Python :: 3.9',
51+
'Programming Language :: Python :: 3.10',
5052
'Programming Language :: Python :: 3 :: Only',
5153
],
5254

src/py3createtorrent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Create torrents via command line!
44
5-
Copyright (C) 2010-2021 Robert Nitsch
5+
Copyright (C) 2010-2022 Robert Nitsch
66
Licensed according to GPL v3.
77
"""
88

@@ -42,7 +42,7 @@
4242

4343
# Do not touch anything below this line unless you know what you're doing!
4444

45-
__version__ = '1.0.0'
45+
__version__ = '1.0.1'
4646

4747
# Note:
4848
# Kilobyte = kB = 1000 Bytes
@@ -262,7 +262,7 @@ def create_multi_file_info(directory: str, files: List[str], piece_length: int,
262262
info_pieces += sha1(data)
263263

264264
# Build the final dictionary.
265-
info = {'pieces': bytes(info_pieces), 'name': os.path.basename(directory.strip("/\\")), 'files': info_files}
265+
info = {'pieces': bytes(info_pieces), 'name': os.path.basename(os.path.abspath(directory)), 'files': info_files}
266266

267267
return info
268268

0 commit comments

Comments
 (0)