Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Is `zip` really required to build? #3064
Comments
|
For linux zip is needed to create one standalone executable file... All python files are zipped + some python magic = you have youtube-dl in one file, that can be executed and it works :) Here is the code from Makefile, that make it happen https://github.com/rg3/youtube-dl/blob/master/Makefile#L43-L49 |
|
Yes, this is correct, see http://bugs.python.org/issue1739468 . When building youtube-dl to a single You can simply unpack the |
|
@pulpe I thought I had commented on that. Yes, that may be one reason, although my previous experiments indicated the main overhead may be Python parsing. |
It seems crazy to me that
zipis needed to "build" a project where the source files are available in the repo unarchived. Is this really needed?