开发者

how the bittorent is compiled to exe [closed]

开发者 https://www.devze.com 2023-01-20 06:08 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help 开发者_高级运维center. Closed 12 years ago.

As all know bittorrent is written in python program. whenever i download and install the bittorrent.exe, I never found any file(like dll etc) associated in program files i mean whenever i go to c:\program files\bittorrent i found only single file called bittorrent.exe, i wonder how this program is compiled to exe , whereas whenever i want to build standalone python exe i use py2exe and i found the output consists of nearly 25mb, which consists of all library file included. Can anybody will tell me the detail structure how the bittorent program is build into exe.


Actually bittorrent is a protocol. The original program which implemented bittorrent may have been written in Python but that's not the case now.

A lot of them now are coded in compiled languages, Transmission being the one I'm most familiar with (comes with Ubuntu) - it uses gcc.


You mean the, umm, "official" BitTorrent client from bittorrent.com, right? I couldn't find the latest source code but older versions were built using py2exe (see winsetup.py of the client v4.26). I can't explain why your py2exe output is so huge, but the setup.py file included in the sources seems to exclude a lot of modules. Maybe you used the setup.py file that was intended for Linux/Unix.

If you didn't mean that client GUI, you should know that BitTorrent is actually just the protocol, and there exist multiple libraries and GUIs that implement it.


Take a look at http://www.bittorrent.com/company/jobs. They are looking for C/C++ developers... not python.


Look in the documentation for the BitTorrent client that you use. There are several Python clients and each one does things differently.

0

精彩评论

暂无评论...
验证码 换一张
取 消