Skip to content

Commit c5be154

Browse files
authored
v0.4.1 (#103)
1 parent a4427e9 commit c5be154

27 files changed

+1350
-1222
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# TorrentFileQt
22

3+
## Version 0.4.1
4+
5+
- Bug fixes from the 0.4.0 update
6+
- Additional tests and coverage gaps
7+
- Fixed issues with saving in editor and bencode tab
8+
9+
* * *
10+
311
## Version 0.4.0
412

513
- complete refactor, review and overhaul of ui

Makefile

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,4 @@
1-
.PHONY: clean help full
2-
.DEFAULT_GOAL := help
3-
4-
define BROWSER_PYSCRIPT
5-
import os, webbrowser, sys
6-
7-
from urllib.request import pathname2url
8-
9-
webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
10-
endef
11-
export BROWSER_PYSCRIPT
12-
13-
define PRINT_HELP_PYSCRIPT
14-
import re, sys
15-
16-
for line in sys.stdin:
17-
match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line)
18-
if match:
19-
target, help = match.groups()
20-
print("%-20s %s" % (target, help))
21-
endef
22-
export PRINT_HELP_PYSCRIPT
23-
24-
define CHANGE_NAME
25-
import os
26-
from zipfile import ZipFile
27-
from torrentfileQt.version import __version__
28-
zfile = ZipFile(f"./bin/torrentfileQt-v{__version__}-WIN.zip", mode="w")
29-
zfile.write("./bin/dist/torrentfileQt.exe", "torrentfileQt.exe")
30-
zfile.close()
31-
endef
32-
export CHANGE_NAME
33-
34-
BROWSER := python -c "$$BROWSER_PYSCRIPT"
35-
36-
help:
37-
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
1+
.PHONY: clean
382

393
clean: clean-build ## remove all build, test, coverage and Python artifacts
404

@@ -73,11 +37,10 @@ release: clean test ## release to pypi
7337
py -m build .
7438
twine upload dist/*
7539

76-
build: install clean test ## build executable file
40+
build: clean test ## build executable file
7741
py -m build .
7842
pip install -e .
79-
cd bin && pyinstaller exec.spec
80-
python -c "$$CHANGE_NAME"
43+
pyinstaller app.spec
8144

8245
install: ## Fresh install from PyPi
8346
python -m pip install --upgrade --force-reinstall --no-cache torrentfileQt

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TorrentFileQt is a GUI Frontend for [TorrentFile CLI](https://github.com/alexpde
3535

3636
## Usage Overview
3737

38-
![edittorrent.png](https://raw.githubusercontent.com/alexpdev/torrentfileQt/main/assets/TorrentFileQt.gif)
38+
![torrentfileQt](./assets/TorrentfileQt.gif)
3939

4040
* * *
4141

@@ -64,11 +64,6 @@ torrentfileQt
6464

6565
To report a bug or ask for a new feature please [open an issue](https://github.com/alexpdev/torrentfileQt/issues) on github.
6666

67-
| Known Issues |
68-
| ------------- |
69-
| The bencode editor is more of a bencode viewer at the moment. You can remove, add and edit fields in the window, but there are still some bugs to work out in the saving process |
70-
71-
7267
## License
7368

7469
[Apache 2.0 Software License](./LICENSE)

app.spec

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
block_cipher = None
5+
6+
7+
a = Analysis(
8+
['main.py'],
9+
pathex=[],
10+
binaries=[],
11+
datas=[('torrentfileQt/assets', 'assets')],
12+
hiddenimports=[],
13+
hookspath=[],
14+
hooksconfig={},
15+
runtime_hooks=[],
16+
excludes=[],
17+
win_no_prefer_redirects=False,
18+
win_private_assemblies=False,
19+
cipher=block_cipher,
20+
noarchive=False,
21+
)
22+
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
23+
24+
exe = EXE(
25+
pyz,
26+
a.scripts,
27+
a.binaries,
28+
a.zipfiles,
29+
a.datas,
30+
[],
31+
name='torrentfileQt',
32+
debug=False,
33+
bootloader_ignore_signals=False,
34+
strip=False,
35+
upx=True,
36+
upx_exclude=[],
37+
runtime_tmpdir=None,
38+
console=False,
39+
disable_windowed_traceback=False,
40+
argv_emulation=False,
41+
target_arch=None,
42+
codesign_identity=None,
43+
entitlements_file=None,
44+
icon=['assets\\torrentfile.ico'],
45+
)

assets/TorrentfileQt.gif

558 KB
Loading

bin/exec

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/exec.spec

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)