Greetings
I've followed the steps in
https://dev.deluge-torrent.org/ticket/3201 (using win10)
and so I'm now able to run deluge 2.0.3 via:
Code: Select all
set PATH=C:\gvsbuild\release\bin;%PATH%
deluge.exe
Now, I'd like to make an standalone installer.
So, I download
https://git.deluge-torrent.org/deluge/snapshot/deluge-deluge-2.0.3.zip,
unzip its contents,
and then I try to follow what's on its
Win32 README.txt :
= Deluge Installer for Windows =
Instructions for building the Deluge NSIS Installer for Windows XP/Vista/7.
== Dependencies ==
* Deluge build:
http://dev.deluge-torrent.org/wiki/Inst ... pendencies
* Bbfreeze:
http://pypi.python.org/pypi/bbfreeze
* NSIS:
http://nsis.sourceforge.net/Download
== Build Steps ==
1. Build and Install Deluge on Windows.
2. Run the bbfreeze script from the win32 directory:
python deluge-bbfreeze.py
The result is a bbfreeze'd version of Deluge in `build-win32/deluge-bbfreeze-build_version`.
3. Run the NSIS script (right-click and choose `Compile with NSIS`)
The result is a standalone installer in the `build-win32` directory.
So, open a command prompt,
type
cd C:\Users\Kostas\Desktop\deluge-deluge-2.0.3\packaging\win32
and
python deluge-bbfreeze.py
I get:
Code: Select all
Traceback (most recent call last):
File "deluge-bbfreeze.py", line 23, in <module>
import bbfreeze
ModuleNotFoundError: No module named 'bbfreeze'
And, if I try:
pip install bbfreeze
then I get:
Code: Select all
Collecting bbfreeze
Downloading https://files.pythonhosted.org/packages/aa/90/5635b1cc9bd7cc7068bda3701c29dde1449fda37bd5279338b71c30abf81/bbfreeze-1.1.3.zip (65kB)
|████████████████████████████████| 71kB 351kB/s
ERROR: Command errored out with exit status 1:
command: 'c:\users\kostas\appdata\local\programs\python\python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Kostas\\AppData\\Local\\Temp\\pip-install-oq_dg_14\\bbfreeze\\setup.py'"'"'; __file__='"'"'C:\\Users\\Kostas\\AppData\\Local\\Temp\\pip-install-oq_dg_14\\bbfreeze\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\Kostas\AppData\Local\Temp\pip-install-oq_dg_14\bbfreeze\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Kostas\AppData\Local\Temp\pip-install-oq_dg_14\bbfreeze\setup.py", line 15, in <module>
version = get_version()
File "C:\Users\Kostas\AppData\Local\Temp\pip-install-oq_dg_14\bbfreeze\setup.py", line 13, in get_version
return d["__version__"]
KeyError: '__version__'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Could you please help?