Converting Python Script to Debian Package - Building DEB Package

preview_player
Показать описание
00 - Converting Python Script to Debian Package - Overview
01 - Converting Python Script to Debian Package - Folder Structure
02 - Converting Python Script to Debian Package - Changing MAC address manually
03 - Converting Python Script to Debian Package - Change MAC method
04 - Converting Python Script to Debian Package - Get arguments method
05 - Converting Python Script to Debian Package - Main method
06 - Converting Python Script to Debian Package - Designing
07 - Converting Python Script to Debian Package - Setup
08 - Converting Python Script to Debian Package - Building DEB Package

Thank you.
Рекомендации по теме
Комментарии
Автор

Greetings and thanks for the excellent content, I used this content as a guide and managed to pack a small python application but it uses windows and when I try to install it with dpkg it simply does not install, I am using Debian 11, and a 32-bit pc, and the results I get are the same as yours and still I just can't install the deb package.
Could you tell me if there is something additional to do in a windows application?

socialista
Автор

Did you change the theme of Bash Terminal? if so Can you plz Explain How?

MuhammadHassan-fedz
Автор

Sir thank you so much. Now everything is working fine, but make a small tutorial on how to create a GUI and convert it thank you

Kennethlumor
Автор

Sir please I hope you are doing well, sir please I know you are busy but with my humble request, if you can make a video on how to convert python code into GUI format on Linux. I'm in my final year and some of my projects I have to convert them into exe "Debian" I try other videos but your own is clear and explainable. So help me please so that I can do it and submit my project work.

Kennethlumor
Автор

any option to set apt dependencies in this using setup tools?

uday
Автор

When i run the packaging command it keeps opening the game instead of packaging the game itself

braidencrow
Автор

You videos are great but it's hard too follow step .i mean which vid after which 😅😢

shamimkabirkazim
Автор

Sir please and please can you send me the source code or did you upload it to github for download

Kennethlumor
Автор

I got the following error:

E: Please add apropriate interpreter package to Build-Depends, see pybuild(1) for details at line 224.
debian/rules:7: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
Traceback (most recent call last):
File "setup.py", line 23, in <module>
python_requires=">=3.6",
File "/home/robot0/.local/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/stdeb/command/bdist_deb.py", line 22, in run
self.run_command('sdist_dsc')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command

File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/stdeb/command/sdist_dsc.py", line 140, in run
remove_expanded_source_dir=self.remove_expanded_source_dir,
File "/usr/lib/python3/dist-packages/stdeb/util.py", line 1397, in build_dsc

File "/usr/lib/python3/dist-packages/stdeb/util.py", line 538, in dpkg_genchanges
process_command(args, cwd=cwd)
File "/usr/lib/python3/dist-packages/stdeb/util.py", line 183, in process_command
check_call(args, cwd=cwd)
File "/usr/lib/python3/dist-packages/stdeb/util.py", line 46, in check_call
raise CalledProcessError(retcode)
2

what to do? I tried changing the python_reuires to 3 from 3.6 but same error persists. I am guessing it is because of the debian folder containing rules file showing some error? I am not too sure. Any suggestions would be appreciated. The tar.gz and tar.xz do generate. But no debian package or related buildinfo or others generated.

dhavalshukla
Автор

Nice men keep it up but i have question men

ido