News for hackers. Stuff that matters.
Re:Python Wheels Crosses 90% by enriquto on Monday June 08, 2020 @04:15AM (#23454631)
What's the difference between "applications" and "libraries"? Why can't they be distributed in the same way?
Re:Python Wheels Crosses 90% by oefrha on Monday June 08, 2020 @04:26AM (#23454702)
Libraries are self-contained and can unpack into any prefix. Applications tend to have config files, service description files, documentation, etc. scattered all over the system at specific locations in order to comply with host system conventions and inter-operate with supervisors and other applications.

Wheel is an unpack-into-any-prefix (and stays in that prefix) binary distribution format.

Re:Python Wheels Crosses 90% by BiteCode_dev on Monday June 08, 2020 @05:51AM (#23455153)
Applications are for the end user. The end user don't need the source code, don't want to compile anything, don't want to bother about installing Python or even knowing it's written in Python, wants it work with his system of choice (app store, package manager, simple exe...), wants OS integration (entry in menus, icons, etc.) and want it fast.

Libs are for the dev: you want the source code, you want to manage versions, you want it to integrate with your dev env, you want a well delimited scope, a way to install it using your usual setup (pip/poetry/etc) and to isolate it from project to project.

Re:Python Wheels Crosses 90% by enriquto on Monday June 08, 2020 @06:43AM (#23455404)
As a "dev" who develops mostly for other "devs" this distinction is not so clear to me.
Re:Python Wheels Crosses 90% by BiteCode_dev on Monday June 08, 2020 @06:46AM (#23455420)
Do you provide your lib as a dmg for mac users or through the windows app store ? Do you provide a entry in the start menu for it ? An icon on the desktop ?
Re:Python Wheels Crosses 90% by enriquto on Monday June 08, 2020 @06:50AM (#23455443)
Lol no I just send them an email with the url of a private git repo containing my code/experiments, and let them sort it out XD The pleasures of academia.
Re:Python Wheels Crosses 90% by pansa2 on Monday June 08, 2020 @04:48AM (#23454816)
Python libraries are distributed to other Python developers. Applications are distributed to end-users, who may not even know what Python is, let alone details of any Python installation on their machine.